Home
|
Process JSON
JSON/EXI processing
Processing Performance Visualization
SharedStrings (a.k.a. shared vocabulary). Note: delete/update if needed
"@context", "@id", "@type", "@value", "Brightness", "Car", "CoAP", "DecreaseColor", "Distance", "Door", "EXI", "EXI4JSON", "Fan", "HTTP", "IncreaseColor", "JSON", "Lamp", "Lighting", "Off", "On", "OnOff", "PowerConsumption", "RGBColor", "RGBColorBlue", "RGBColorGreen", "RGBColorRed", "Speed", "Start", "Stop", "Switch", "Temperature", "Thing", "Toggle", "TrafficLight", "WS", "actions", "associations", "celsius", "dogont", "encodings", "events", "hrefs", "http://w3c.github.io/wot/w3c-wot-td-context.jsonld", "https://w3c.github.io/wot/w3c-wot-common-context.jsonld", "inch", "inputData", "interactions", "joule", "kelvin", "kmh", "kwh", "lgdo", "m", "max", "mile", "min", "mm", "mph", "name", "outputData", "properties", "protocols", "qu", "reference", "schema", "security", "unit", "uris", "valueType", "writable", "xsd:boolean", "xsd:byte", "xsd:float", "xsd:int", "xsd:short", "xsd:string", "xsd:unsignedByte", "xsd:unsignedInt", "xsd:unsignedShort"
Performance: number of runs
JSON
EXI4JSON (binary)
{ "@context": [ "https://w3c.github.io/wot/w3c-wot-td-context.jsonld", "https://w3c.github.io/wot/w3c-wot-common-context.jsonld" ], "@type": "Sensor", "name": "myTempSensor", "uris": [ "coap:///www.example.com:5683/temp" ], "encodings": [ "JSON" ], "properties": [ { "@id": "val", "@type": "Temperature", "unit": "celsius", "reference": "threshold", "name": "myTemp", "valueType": "xsd:float", "writable": false, "hrefs": [ "val" ] }, { "@id": "threshold", "@type": "Temperature", "unit": "celsius", "name": "myThreshold", "valueType": "xsd:float", "writable": true, "hrefs": [ "threshold" ] } ], "events": [ { "valueType": "xsd:float", "name": "myChange", "property": "temp", "hrefs": [ "val/changed" ] }, { "valueType": "xsd:float", "name": "myWarning", "hrefs": [ "val/high" ] } ] }
Encode →
← Decode
Choose or drag an XML file
Parse selected JSON file into editor
Choose or drag an EXI file
Parse selected EXI4JSON file into editor
File options on/off