Recall & Review
beginner
What is JSON payload formatting?
It is the way data is organized and structured in JSON format to be sent or received by devices or services.
Click to reveal answer
beginner
Why is proper JSON formatting important in IoT communication?
Proper formatting ensures devices understand the data correctly, avoiding errors and communication failures.
Click to reveal answer
beginner
Which characters must be used to enclose keys and string values in JSON?
Double quotes (") must be used around keys and string values in JSON.
Click to reveal answer
beginner
How are multiple key-value pairs separated in a JSON object?
They are separated by commas (,).
Click to reveal answer
beginner
What data types can be used as values in JSON payloads?
Values can be strings, numbers, objects, arrays, booleans (true/false), or null.
Click to reveal answer
Which of the following is a valid JSON key-value pair?
✗ Incorrect
In JSON, keys must be in double quotes, so only option A is correct.
What symbol is used to separate multiple key-value pairs in a JSON object?
✗ Incorrect
Commas (,) separate key-value pairs in JSON objects.
Which of these is NOT a valid JSON value type?
✗ Incorrect
Functions are not valid JSON values.
How should string values be enclosed in JSON?
✗ Incorrect
Strings in JSON must be enclosed in double quotes.
What is the correct way to represent an empty JSON object?
✗ Incorrect
An empty JSON object is represented by curly braces {}.
Explain the basic rules for formatting a JSON payload for IoT devices.
Think about how data is structured and what syntax rules JSON requires.
You got /4 concepts.
Describe why correct JSON formatting is critical in IoT communication.
Consider what happens if data is not understood by devices.
You got /4 concepts.