java Json execl

Json

Json (JavaScript object Notation Js object notation) is a lightweight data exchange format.
Advantages: Introduction and clear hierarchical structure make Json a rational data exchange format. , Easy to read and write by humans, easy to parse and generate by machine, and effectively improve network transmission efficiency

Basic grammar

Key-value pairs represent objects, and attributes are separated by commas.
Curly brackets represent objects, and square brackets represent arrays.
For example:
Object: {"name":"Zhang San", "age": "18"}
Array: [{"name":" Zhang San", "age": "18"}, {"name": "李四", "age": "20"}]

fastjson

fastjson is a jar toolkit for parsing json

 <dependencies>
	   <dependency>
	 	  <groupId>com

Guess you like

Origin blog.csdn.net/Mwyldnje2003/article/details/106984645