![]() |
TerraForge3D
2.3.1
3D Terrain And Landscape Generator
|
|
inlineconstexprnoexcept |
return the type of the JSON value (explicit)
Return the type of the JSON value as a value from the value_t enumeration.
Value type | return value |
---|---|
null | value_t::null |
boolean | value_t::boolean |
string | value_t::string |
number (integer) | value_t::number_integer |
number (unsigned integer) | value_t::number_unsigned |
number (floating-point) | value_t::number_float |
object | value_t::object |
array | value_t::array |
binary | value_t::binary |
discarded | value_t::discarded |
@complexity Constant.
@exceptionsafety No-throw guarantee: this member function never throws exceptions.
@liveexample{The following code exemplifies type()
for all JSON types.,type}
Definition at line 20171 of file json.hpp.