Public Member Functions |
Private Types |
Private Member Functions |
Static Private Member Functions |
Private Attributes |
Static Private Attributes |
List of all members
nlohmann::json_abi_v3_11_3::detail::serializer< BasicJsonType > Class Template Reference
Collaboration diagram for nlohmann::json_abi_v3_11_3::detail::serializer< BasicJsonType >:
![]()
Detailed Descriptiontemplate<typename BasicJsonType>
class nlohmann::json_abi_v3_11_3::detail::serializer< BasicJsonType > Member Typedef Documentation◆ binary_char_t
template<typename BasicJsonType >
◆ number_float_t
template<typename BasicJsonType >
◆ number_integer_t
template<typename BasicJsonType >
◆ number_unsigned_t
template<typename BasicJsonType >
◆ string_t
template<typename BasicJsonType >
Constructor & Destructor Documentation◆ serializer() [1/3]
template<typename BasicJsonType >
◆ serializer() [2/3]
template<typename BasicJsonType >
◆ serializer() [3/3]
template<typename BasicJsonType >
◆ ~serializer()
template<typename BasicJsonType >
Member Function Documentation◆ count_digits()
template<typename BasicJsonType >
◆ decode()
template<typename BasicJsonType >
check whether a string is UTF-8 encoded The function checks each byte of a string whether it is UTF-8 encoded. The result of the check is stored in the state parameter. The function must be called initially with state 0 (accept). State 1 means the string must be rejected, because the current byte is not allowed. If the string is completely processed, but the state is non-zero, the string ended prematurely; that is, the last byte indicated more bytes should have followed.
Definition at line 18908 of file json.hpp. References JSON_ASSERT. ◆ dump()
template<typename BasicJsonType >
internal implementation of the serialization function This function is called by the public member function dump and organizes the serialization internally. The indentation level is propagated as additional parameter. In case of arrays and objects, the function is called recursively.
Definition at line 18115 of file json.hpp. References JSON_ASSERT, and JSON_HEDLEY_UNLIKELY. ◆ dump_escaped()
template<typename BasicJsonType >
dump escaped string Escape a string by replacing certain special characters by a sequence of an escape character (backslash) and another character and other control characters by a sequence of "\u" followed by a four-digit hex representation. The escaped string is written to output stream o.
@complexity Linear in the length of string s. Definition at line 18399 of file json.hpp. References JSON_ASSERT, JSON_HEDLEY_LIKELY, and JSON_THROW. ◆ dump_float() [1/3]
template<typename BasicJsonType >
◆ dump_float() [2/3]
template<typename BasicJsonType >
Definition at line 18836 of file json.hpp. References JSON_ASSERT. ◆ dump_float() [3/3]
template<typename BasicJsonType >
◆ dump_integer()
template<typename BasicJsonType >
template<typename NumberType , detail::enable_if_t< std::is_integral< NumberType >::value||std::is_same< NumberType, number_unsigned_t >::value||std::is_same< NumberType, number_integer_t >::value||std::is_same< NumberType, binary_char_t >::value, int > = 0>
dump an integer Dump a given integer to output stream o. Works internally with number_buffer.
Definition at line 18722 of file json.hpp. References JSON_ASSERT. ◆ hex_bytes()
template<typename BasicJsonType >
◆ is_negative_number() [1/2]
template<typename BasicJsonType >
template<typename NumberType , enable_if_t< std::is_signed< NumberType >::value, int > = 0>
◆ is_negative_number() [2/2]
template<typename BasicJsonType >
template<typename NumberType , enable_if_t< std::is_unsigned< NumberType >::value, int > = 0>
◆ operator=() [1/2]
template<typename BasicJsonType >
◆ operator=() [2/2]
template<typename BasicJsonType >
◆ remove_sign() [1/2]
template<typename BasicJsonType >
Definition at line 18963 of file json.hpp. References JSON_ASSERT. ◆ remove_sign() [2/2]
template<typename BasicJsonType >
Definition at line 18948 of file json.hpp. References JSON_ASSERT. Member Data Documentation◆ decimal_point
template<typename BasicJsonType >
◆ error_handler
template<typename BasicJsonType >
◆ indent_char
template<typename BasicJsonType >
◆ indent_string
template<typename BasicJsonType >
◆ loc
template<typename BasicJsonType >
◆ number_buffer
template<typename BasicJsonType >
◆ o
template<typename BasicJsonType >
◆ string_buffer
template<typename BasicJsonType >
◆ thousands_sep
template<typename BasicJsonType >
◆ UTF8_ACCEPT
template<typename BasicJsonType >
◆ UTF8_REJECT
template<typename BasicJsonType >
The documentation for this class was generated from the following file: Generated on Sun Apr 6 2025 11:10:38 for FlexibleSUSY by |