JSON Flashcards

1
Q

What is JSON?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

JSON syntax

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

== v ===

A

== 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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly