Complete the code to create a JSON payload with a temperature reading.
{ "temperature": [1] }The temperature value should be a number without quotes in JSON.
Complete the code to add a humidity field with value 60 in the JSON payload.
{ "humidity": [1] }Humidity is a numeric value and should be written without quotes in JSON.
Fix the error in the JSON payload by completing the missing value for the "device" field.
{ "device": [1] }String values in JSON must be enclosed in double quotes.
Fill both blanks to create a JSON payload with a sensor ID and its status.
{ "sensor_id": [1], "status": [2] }The sensor ID is a string and needs double quotes. The status is also a string and requires double quotes.
Fill all three blanks to create a JSON payload with device name, battery level, and charging status.
{ "device_name": [1], "battery": [2], "charging": [3] }Device name is a string and needs quotes. Battery is a number without quotes. Charging is a boolean without quotes.