Data processing in json format

WBOY
Release: 2016-08-08 09:24:14
Original
851 people have browsed it

Provide json data {"p1":["zhangsan","nan","24"],p2:["lisi","nv","28"]}, js directly prints out name, gender, age .


Output effect:

Name Gender Age
zhangsan Male 24
lisi Female 28


Code tips:


The above introduces the data processing in json format, including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!