1、什么是json格式
JSON格式:
比如学生有学号,姓名,性别等。
用json表示则为:
{"studno":"11111","studname":"wwww","studsex":"男"}(各个字段都是字符型)
这代表一个学生的信息。
如果多个呢?
[{"studno":"122222","studname":"wwww","studsex":"男"},
{"studno":"11111","studname":"xxxx","studsex":"男"},
{"studno":"33333","studname":"ssss","studsex":"男"}]
2、json与xml格式比较有哪些优势
3、java如果解析json
本文介绍了JSON格式的基本概念,包括如何使用JSON表示单个及多个对象,并对比了JSON与XML的优势。此外,还提供了Java解析JSON的方法链接。
782

被折叠的 条评论
为什么被折叠?



