in my Thingsboard account, i have a json value in the server attributes and a problem occurs every time i try fetch it. it returns me a JsonDataEntry which contains the value as a string, that is incorrect because when you return it as a String, it removes the quotes from the JSON value, which then makes it impossible to work with it.
this happens because in the lib/src/model/telemetry_models.dart in the line 352 the method _parseValue, it converts my JSON value to map then to String via the .toString() method which then removes all the quotes.
in my Thingsboard account, i have a json value in the server attributes and a problem occurs every time i try fetch it. it returns me a JsonDataEntry which contains the value as a string, that is incorrect because when you return it as a String, it removes the quotes from the JSON value, which then makes it impossible to work with it.
ex of my value in Thingsboard:
what i get in return:
this happens because in the lib/src/model/telemetry_models.dart in the line 352 the method _parseValue, it converts my JSON value to map then to String via the .toString() method which then removes all the quotes.