JSON


Xavier Naveira
 

Hello,

I am building an application on top of Zephyr that does communicate via MQTT to AWS IoT. I have been using the built in JSON library [1] to encode/parse the messages in json format.

Up until now all the structures that I needed to encode/parse to/from json have been static but I am beginning to encounter cases where some or several fields of a particular object are optional. For what I have seen in the documentation there doesn't seem to be support for optional fields in this library and I was wondering if anyone is using an external library for json and if yes what is the process they followed to incorporate it into their Zephyr app.

Thank you.

Xavier

Join users@lists.zephyrproject.org to automatically receive all group messages.