Subject to changeVersion 6 is currently in beta, so the API
Unless you need the new features of version 6 (e.g. MessagePack), please use version 5.
Version 6 should stay in beta stage until the end of 2018.
A variable that can hold different type of values:
- a boolean
- a char, short, int or a long (signed or unsigned)
- a string (const char*)
- a reference to a JsonArray or JsonObject
JsonVariant can be any of theses types at a time, but can only hold one value.
Its type can change at run time.