semiotproject / semiot-platform

SemIoT Platform
http://semiot.ru
MIT License
8 stars 1 forks source link

Use JSON as response #122

Closed garayzuev closed 8 years ago

garayzuev commented 8 years ago

For demo version we use a turtle format of events, but it has a big size. Change format to JSON, presumably, can help to resolve this issue. JSON should be a next format:

{
    "sensor": "sensorURI",
    "group": 1,
    "avg": 1,
    "diff": 1,
    "temp": 1
}