If you have any questions, please point out.
First, what is JSON
1json refers to the way JavaScript is represented
2JSON is a lightweight text data interchange Format
3 JSON is a standalone language
4 JSON is self-descriptive and easier to understand
Ii. Rules of Grammar
1 objects are represented as key-value pairs
2 data separated by commas
3 Curly Braces Save Object
4 square brackets Save array
For example {"Name", "Tom", "Age": "},{", "Student" =[{"name": "Tom", "Age": "},{", "name": "Jerry", "Age": "21"}]}
All of these are basic concepts
What the hell is json doing?
The previous graduation design uses the SPRINGMVC front-end JSP. Front-end display with Jstl+el expression after stepping into the company to know JSON, never know what to do
Now, that's what I understand.
Back end of the Java object to the JSON data to the front end, the front end processing the same back end of the data into JSON to the backend processing, because the project thousands you can not always use the JSP dynamic page technology,
HTML and back-end interaction depends on the ajax+jquery or the front end of the framework of the back-end object This transfer of data is in JSON form to complete the front-end and back-end interaction
The first time I wrote about technology, my goal is to keep learning and see my way of growing up. I hope you can use it.
There are methods in Java that can parse JSON SPRINGMVC also have requestbody
Two times the growth of the farm (b) What exactly does JSON do?