How to make arduinojson node?

Hello to everyone,
Is it possible to create an arduinojson node / library in xod? If possible, how can I get a guide on how to make it?
I have looked at the documentation on xod site. Any other material that creates the xod nod / library is okay.
Thank you

Hello and welcome!

It depends on what you want to do with the node. I mean, what task do you want to accomplish? You are talking about https://github.com/bblanchon/ArduinoJson, right?

I doubt a single node to deal with JSON will be enough. A rough outline of what might be done is:

  • Wrap the DynamicJsonDocument into a new custom type
  • Wrap its methods to read/write JSON fields into separate action nodes
1 Like