EasyManua.ls Logo

USR IOT USR-M100 - Payload-Json Template

USR IOT USR-M100
126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
User Manual
Your Trustworthy Industrial IoT Partner www.pusr.com
93
Fig. 139 Interval and timer report
9.4.3. Payload-Json template
A JSON object contains zero, one, or more key-value pairs, also called properties. The object is surrounded by curly braces {}. Every
key-value pair is separated by a comma. The order of the key-value pair is irrelevant.
A JSON array contains zero, one, or more ordered elements, separated by a comma. The JSON array is surrounded by square
brackets [ ].
A key-value pair consists of a key and a value, separated by a colon (:). The key is a string, which identifies the key-value pair. The
value can be any of the following data types: string(surrounded by quotation marks (" ")),number,float,array(JSON array),object(JSON
object (can be nested)),boolean(true or false),empty.
Example 1
{
"THsensor1": {
"temperature": "temperature",
"humidity": "humidity"
},
"LUXsensor1": {
"illumination": "illumination"
},
"time": "sys_net_time"
}
Example 2
{
"service":[{
"sensor1": {
"temperature": "temperature1",
"humidity": "humidity1",
"user_define": "bedroom"

Table of Contents