| Renderd7-nightly
    v0.7.0
    | 
detail namespace with internal helper functions More...
| Namespaces | |
| dtoa_impl | |
| implements the Grisu2 algorithm for binary to decimal floating-point conversion. | |
| Classes | |
| class | binary_reader | 
| deserialization of CBOR, MessagePack, and UBJSON values  More... | |
| class | binary_writer | 
| serialization to CBOR and MessagePack values  More... | |
| class | exception | 
| general exception of the basic_json class  More... | |
| class | file_input_adapter | 
| class | input_stream_adapter | 
| struct | internal_iterator | 
| an iterator value  More... | |
| class | invalid_iterator | 
| exception indicating errors with iterators  More... | |
| class | iter_impl | 
| a template for a bidirectional iterator for the basic_json class This class implements a both iterators (iterator and const_iterator) for the basic_json class.  More... | |
| class | iteration_proxy | 
| proxy class for the items() function  More... | |
| class | json_reverse_iterator | 
| a template for a reverse iterator class  More... | |
| class | json_sax_dom_parser | 
| SAX implementation to create a JSON value from SAX events.  More... | |
| class | lexer | 
| lexical analysis  More... | |
| class | other_error | 
| exception indicating other library errors  More... | |
| class | out_of_range | 
| exception indicating access out of the defined range  More... | |
| struct | output_adapter_protocol | 
| abstract output adapter interface  More... | |
| class | output_stream_adapter | 
| output adapter for output streams  More... | |
| class | output_string_adapter | 
| output adapter for basic_string  More... | |
| class | output_vector_adapter | 
| output adapter for byte vectors  More... | |
| class | parse_error | 
| exception indicating a parse error  More... | |
| class | parser | 
| syntax analysis  More... | |
| struct | position_t | 
| struct to capture the start position of the current token  More... | |
| class | type_error | 
| exception indicating executing a member function with a wrong type  More... | |
| Typedefs | |
| template<typename CharType > | |
| using | output_adapter_t = std::shared_ptr< output_adapter_protocol< CharType > > | 
| a type to simplify interfaces | |
| Enumerations | |
| enum | value_t : std::uint8_t { value_t::null, value_t::object, value_t::array, value_t::string, value_t::boolean, value_t::number_integer, value_t::number_unsigned, value_t::number_float, value_t::binary, value_t::discarded } | 
| the JSON type enumeration  More... | |
| enum | input_format_t | 
| the supported input formats | |
| enum | cbor_tag_handler_t { cbor_tag_handler_t::error, cbor_tag_handler_t::ignore } | 
| how to treat CBOR tags  More... | |
| enum | parse_event_t : uint8_t { parse_event_t::object_start, parse_event_t::object_end, parse_event_t::array_start, parse_event_t::array_end, parse_event_t::key, parse_event_t::value } | 
| enum | error_handler_t { error_handler_t::strict, error_handler_t::replace, error_handler_t::ignore } | 
| how to treat decoding errors  More... | |
| Functions | |
| bool | operator< (const value_t lhs, const value_t rhs) noexcept | 
| comparison operator for JSON types  More... | |
| template<typename BasicJsonType > | |
| std::size_t | hash (const BasicJsonType &j) | 
| hash a JSON value  More... | |
| template<typename FloatType > | |
| JSON_HEDLEY_RETURNS_NON_NULL char * | to_chars (char *first, const char *last, FloatType value) | 
| generates a decimal representation of the floating-point number value in [first, last).  More... | |
detail namespace with internal helper functions
This namespace collects functions that should not be exposed, implementations of some basic_json methods, and meta-programming helpers.
| 
 | strong | 
the JSON type enumeration
This enumeration collects the different JSON types. It is internally used to distinguish the stored values, and the functions basic_json::is_null(), basic_json::is_object(), basic_json::is_array(), basic_json::is_string(), basic_json::is_boolean(), basic_json::is_number() (with basic_json::is_number_integer(), basic_json::is_number_unsigned(), and basic_json::is_number_float()), basic_json::is_discarded(), basic_json::is_primitive(), and basic_json::is_structured() rely on it.
| 
 | strong | 
how to treat CBOR tags
| Enumerator | |
|---|---|
| error | throw a parse_error exception in case of a tag | 
| ignore | ignore tags | 
| 
 | strong | 
| 
 | strong | 
how to treat decoding errors
| Enumerator | |
|---|---|
| strict | throw a type_error exception in case of invalid UTF-8 | 
| replace | replace invalid UTF-8 sequences with U+FFFD | 
| ignore | ignore invalid UTF-8 sequences | 
comparison operator for JSON types
Returns an ordering that is similar to Python:
| std::size_t nlohmann::detail::hash | ( | const BasicJsonType & | j | ) | 
hash a JSON value
The hash function tries to rely on std::hash where possible. Furthermore, the type of the JSON value is taken into account to have different hash values for null, 0, 0U, and false, etc.
| BasicJsonType | basic_json specialization | 
| j | JSON value to hash | 
| JSON_HEDLEY_RETURNS_NON_NULL char* nlohmann::detail::to_chars | ( | char * | first, | 
| const char * | last, | ||
| FloatType | value | ||
| ) | 
generates a decimal representation of the floating-point number value in [first, last).
The format of the resulting decimal representation is similar to printf's g format. Returns an iterator pointing past-the-end of the decimal representation.