mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Add VALUE_IS_POINTER
This commit is contained in:
@@ -31,6 +31,8 @@ enum {
|
|||||||
VALUE_IS_SIGNED_INTEGER = 0x0A,
|
VALUE_IS_SIGNED_INTEGER = 0x0A,
|
||||||
VALUE_IS_FLOAT = 0x0C,
|
VALUE_IS_FLOAT = 0x0C,
|
||||||
|
|
||||||
|
VALUE_IS_POINTER = 0x10,
|
||||||
|
|
||||||
COLLECTION_MASK = 0x60,
|
COLLECTION_MASK = 0x60,
|
||||||
VALUE_IS_OBJECT = 0x20,
|
VALUE_IS_OBJECT = 0x20,
|
||||||
VALUE_IS_ARRAY = 0x40,
|
VALUE_IS_ARRAY = 0x40,
|
||||||
@@ -49,6 +51,7 @@ union VariantContent {
|
|||||||
UInt asUnsignedInteger;
|
UInt asUnsignedInteger;
|
||||||
Integer asSignedInteger;
|
Integer asSignedInteger;
|
||||||
CollectionData asCollection;
|
CollectionData asCollection;
|
||||||
|
class VariantData *asPointer;
|
||||||
struct {
|
struct {
|
||||||
const char *data;
|
const char *data;
|
||||||
size_t size;
|
size_t size;
|
||||||
|
|||||||
Reference in New Issue
Block a user