Skip to content

Commit

Permalink
进行更改
Browse files Browse the repository at this point in the history
  • Loading branch information
yunbocheng committed Jul 26, 2021
1 parent 4adf471 commit 7f9ef2f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/JavaScript/JSON/JSON概述.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,17 @@
C语言和java语言之间的交换也可以使用JSON格式
JSON体积小,解析方便。
2. 在JavaScript当中,josn是以对象的形式存在的。
2. 在JavaScript当中,json是以对象的形式存在的。
3. ajax发起请求 ------ servlet (返回的一个json格式的字符串)
{name:"河北",jiancheng:"冀",shenghui:"石家庄"}
4. json分类:
- json对象 :JSONObject,这种对象格式 名称:值 也可以看做 key:value
- json数组 :JSONArray,基本格式:
[{name:"河北",jiancheng:"冀",shenghui:"石家庄"},{name:"山西",jiancheng:"晋",shenghui:"太原市"}]
5.处理json的工具库:jackson
*/
</script>
</body>
Expand Down

0 comments on commit 7f9ef2f

Please sign in to comment.