Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [leshan-dev] JSON format support

Hi,
   You query the REST API of our leshan-server-demo which is used by the UI of our leshan-server-demo. This REST API returns values in a json format (specific to leshan-server-demo) nothing to do with the json format defined in the specification and which is used in the LWM2M protocol.

Simon

Le 26/01/2017 à 06:05, Ramakrishnan a écrit :
Hi All,

I tried to query the device object and I get the data in below format.


[{"id":0,"resources":[{"id":0,"value":"Leshan Demo Device"},{"id":1,"value":"Model 500"}}]

        
This carries only the ID and the value. Should it follow below standard?
http://dev_devtoolkit.openmobilealliance.org/IoT/LWM2M10/doc/TS/index.html#!Documents/json.htm

        

      


_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev


Back to the top