Two times the growth of the farm (b) What exactly does JSON do?

Source: Internet
Author: User

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?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.