‘ {“JSON Overview” : true} ’

What is JSON?

JSON Syntax and Datatypes

Note that the JSON boolean format is lowercase, whereas in Python they are capitalized (True/False)
How many datatypes can you identify in this example?

JSON Data Exchange

JSON.parse() converts text data from the server to a JS object or array (text → JS object || array)
JSON.stringify() converts the object or array into JSON to send data to the server (JS object || array → text)

JSON !== JavaScript


Which format do you prefer?


Recommended Articles & Resources:

Full stack software developer with a passion for applying new technologies and a zest for technical problem solving. Bilingual in English and Mandarin.