Variant

Variant::Type

Variants have an explicit type, unlike JSON. The following

Constant C++ Type
Variant::Type::NULL Null type (std::monostate)
Variant::Type::BOOL bool
Variant::Type::INT int
Variant::Type::UINT unsigned
Variant::Type::INT64 int64_t
Variant::Type::UINT64 uint64_t
Variant::Type::DOUBLE double
Variant::Type::STRING String
Variant::Type::BUFFER Buffer
Variant::Type::ARRAY VariantArray
Variant::Type::MAP VariantMap