Links

JSON Payloads

JSON Data Payload reference guide.
The data published to the Qubitro must be a JSON string following the JSON notation.
An example JSON string:
'{"State":"OPEN", "Temperature":30.5, "BatteryStatus":null}'
or
"{\"State\":\"OPEN\",\"Temperature\":30.5,\"BatteryStatus\":null}"
  • Keys must be strings, and values must be valid JSON data types following String, Number, Object, Array, Boolean, or Null.

Examples

Valid and %100 compatible.
{
"State":"OPEN",
"Temperature":46,
"Humidity":51,
}
Each key is automatically separated into a column with corresponding values.
Qubitro Data View
Valid but not %100 compatible.
{
"State":"OPEN",
"SensorsReadings": {"Temperature":53,"Humidity":53},
}
Each key is automatically separated into a column with corresponding values; however, because SensorReadings is a nested JSON Object, Temperature and Humidity keys cannot be parsed into a correct column.
Qubitro Data View