JSON type in mqtt-device profile


I want to add a device-profile for a mqtt-device which accept Json type values.
Does it support in deviceResources a Json value?
Can i add in my device profile something like that :

name: var1
description: “device json var”
{ type: “Json”, readWrite: “R” }

thank you very much

Nope, there isn’t a specific JSON type defined by the Device Service SDK. Just use “String”. The JSON will be passed though as a string in the Reading’s Value field.

Ok…thank you very much for your answer Lenny-intel