You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just learned from https://github.com/nlohmann/json that they have an excellent macro for struct serialization. If possible, I would love to see something like that in ArduinoJson to ease working with structs. Here is how they do it:
I just learned from https://github.com/nlohmann/json that they have an excellent macro for struct serialization. If possible, I would love to see something like that in ArduinoJson to ease working with structs. Here is how they do it:
Define a struct following macro in it:
This will add everything needed for nlohmann::json to (de)serialize this struct.
To create a json or instance from this data:
The text was updated successfully, but these errors were encountered: