JSON Flashcards
What is JSON?
An open standard file and data interchange format that uses human-readable text to store an transmit data objects consisting of attribute-value pairs and arrays. It has multiple uses in electronic data exchange including for web applications with servers
JSON syntax
JSON is derived from JavaScript object notation syntax. Data is in name/value pairs and is separated by commas. Curly braces hold objects. Square brackets hold arrays. It has 6 kinds of values: objects, arrays, strings, numbers, boolean, and null.
== v ===
== converts variables to the same type before performing comparison, called type coercion
=== does not do any type of conversion and returns true only if both values and types are identical for the two variables being compared