Create a flash card for json: 17 flashcards
All 17 flashcards from this kit, free and with no sign-up.
1. What does JSON stand for?
Show the answer
JavaScript Object Notation
2. What are the two primary data structures in JSON?
Show the answer
Objects (key-value pairs) and Arrays (ordered lists).
3. How is a JSON object delimited?
Show the answer
By curly braces `{}`.
4. How is a JSON array delimited?
Show the answer
By square brackets `[]`.
5. In a JSON object, what separates a key from its value?
Show the answer
A colon `:`.
6. In a JSON object or array, what separates items from each other?
Show the answer
A comma `,`.
7. What are the six data types allowed in JSON?
Show the answer
String, Number, Boolean, Null, Object, Array.
8. How must a JSON string be enclosed?
Show the answer
In double quotes `"..."`.
9. What is the JSON representation of a boolean true value?
Show the answer
`true` (lowercase, no quotes).
10. What is the JSON representation of a null value?
Show the answer
`null` (lowercase, no quotes).
11. What is the MIME type for JSON?
Show the answer
`application/json`
12. What is the file extension for a JSON file?
Show the answer
`.json`
13. Can a JSON object contain an array as a value?
Show the answer
Yes, an array is a valid JSON value.
14. Can a JSON array contain objects as elements?
Show the answer
Yes, objects are valid elements in a JSON array.
15. What is the correct JSON syntax for a number?
Show the answer
A numeric literal without quotes, e.g., `42`, `3.14`, `-7`, `1.5e10`.
16. What is the purpose of JSON Schema?
Show the answer
To define the structure, data types, and constraints for validating JSON data.
17. Is the following valid JSON? `{"name": "Alice", "age": 30,}`
Show the answer
No, it is invalid because of the trailing comma after `30`.
Your notes can be a kit like these
Every kit here was made from real study material. Point Veda at a chapter, a PDF, a photo or a link and get notes, flashcards, practice MCQs, games and a scored test — free, in 42 languages.
- Chapter notes
- Flashcards
- Practice MCQs
- Scored tests
- Exam prep
Get Veda free See what students get
Free to start · No ads · Works in 42 languages