JSON or JavaScript Object Notation is the main serialization format supported by all the API calls and protocols at thethings.iO.

It's easy syntax makes JSON a good choice for fast prototyping and integration of your things with the cloud. There are lots of libraries to encode/decode your data into JSON.

Braces {} indicate object. An object is a collection of key/value pairs. All the keys must be between quotes "". Brackets [] indicate an array.

{
  "values":
    [{
      "key": "temperature",
      "value" : 23,
      "geo" : {
        "lat" : 41.4121132,
        "long" : 2.2199454
      }
    }]
}

The valid value types are: string, number, true, false, null, object and array.