enum nlohmann::detail::value_t
the JSON type enumeration This enumeration collects the different JSON types.
It is internally used to
distinguish the stored values, and the functions
(with and
and rely on it.
Values
| Name | Value | Description |
|---|---|---|
null |
0 |
null value |
object |
1 |
object (unordered set of name/value pairs) |
array |
2 |
array (ordered collection of values) |
string |
3 |
string value |
boolean |
4 |
boolean value |
number_integer |
5 |
number value (signed integer) |
number_unsigned |
6 |
number value (unsigned integer) |
number_float |
7 |
number value (floating-point) |
discarded |
8 |
discarded by the the parser callback function |