JSON - JavaScript Object Notation Flashcards
JSON stands for
JavaScript Object Notation
a lightweight format for storing and transporting data
JSON
What are the basic syntax of JSON (3)
key:value
Curly braces {}
Square brackets []
It is used when data is sent from a server to a web page.
JSON
JSON Data Types (6)
String
Number
Boolean
Array
Null
Object
Advantages of JSON (3)
Human-readable
Lightweight
Language-independent
Best Practices when using JSON (3)
Format consistently
Validate JSON
Minify for production
Common JSON tools (3)
JSONLint
Postman
jq
Challenges and Limitations (2)
No comments
No complex data types
tool to validate and format JSON
JSONLint
a popular tool to test and interact with APIs that return JSON.
Postman
a command line tool to process and manipulate JSON
jq