Questions and Answers
- By convention, what name is used for the first key in a JSON schema?
- schema
- \$schema
- JsonSchema
- JSONschema
- Which code is the closest JSON equivalent of the data shown?
- [ ]
- [ ]
- [x]
- [ ]
- Which JavaScript method converts a JavaScript value to Json?
- JSON.parse()
- JSON.stringify()
- JSON.toString()
- JSON.objectify()
- Which data type is NOT part of JSON standard?
- string
- number
- date
- array
- Which term is commonly used to refer to converting data to JSON?
- unpacking
- serialization
- deserialization
- parsing
- Which code uses the correct JSON syntax to encode the key/value pair shown?
- "accountNum": "000605802"
- accountNum: "000605802"
- "accountNum": 000605802
- accountNum: 000605802
- What character do you specify before a JSON control character when you want to use that control characters as a literal part of a string?
- `/`
- `\`
- `:`
- `{`
- Which date type is part of the JSON standard?
- Boolean
- map
- promise
- function
- Which key name is used to specify properties that must be included for JSON to be valid?
- important
- base
- core
- required
- Which is the valid JSON equivalent of the data shown?
- [ ]
- [ ]
- [x]
- [ ]
- How do you store several paragraphs of text as a string in JSON?
- Escape all whitespaces expect space characters.
- Escape line breaks.
- Escape paragraphs.
- Remove all whitespaces
- What data type is represented by the value of the key/value pair shown?
- string
- Boolean
- number
- object
- If you need to store the loggedIn status of a user in JSON as a boolean, what is the correct syntax?
- "loggedIn": (true)
- loggedIn: "true"
- "loggedIn": true
- loggedIn: {true}
- What does JSON with padding (JSON-P) use to make a request?
- an `
` element - a header request
- the `
Copyright © 2024 All Rights Reserved.
- an `