MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / value_t

Enum value_t

Source/Utils/json.hpp:3377–3389  ·  view source on GitHub ↗

! @brief the JSON type enumeration This enumeration collects the different JSON types. It is internally used to distinguish the stored values, and the functions @ref basic_json::is_null(), @ref basic_json::is_object(), @ref basic_json::is_array(), @ref basic_json::is_string(), @ref basic_json::is_boolean(), @ref basic_json::is_number() (with @ref ba

Source from the content-addressed store, hash-verified

3375 @since version 1.0.0
3376 */
3377 enum class value_t : std::uint8_t
3378 {
3379 null, ///< null value
3380 object, ///< object (unordered set of name/value pairs)
3381 array, ///< array (ordered collection of values)
3382 string, ///< string value
3383 boolean, ///< boolean value
3384 number_integer, ///< number value (signed integer)
3385 number_unsigned, ///< number value (unsigned integer)
3386 number_float, ///< number value (floating-point)
3387 binary, ///< binary array (ordered collection of bytes)
3388 discarded ///< discarded by the parser callback function
3389 };
3390
3391 /*!
3392 @brief comparison operator for JSON types

Callers 2

getMethod · 0.85
parseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected