TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ serializer()

template<typename BasicJsonType >
nlohmann::detail::serializer< BasicJsonType >::serializer ( output_adapter_t< char >  s,
const char  ichar,
error_handler_t  error_handler_ = error_handler_t::strict 
)
inline
Parameters
[in]soutput stream to serialize to
[in]icharindentation character to use
[in]error_handler_how to react on decoding errors

Definition at line 16643 of file json.hpp.

16645 : o(std::move(s))
16646 , loc(std::localeconv())
16647 , thousands_sep(loc->thousands_sep == nullptr ? '\0' : std::char_traits<char>::to_char_type(* (loc->thousands_sep)))
16648 , decimal_point(loc->decimal_point == nullptr ? '\0' : std::char_traits<char>::to_char_type(* (loc->decimal_point)))
16649 , indent_char(ichar)
16651 , error_handler(error_handler_)
16652 {}
const error_handler_t error_handler
error_handler how to react on decoding errors
Definition: json.hpp:17551
const std::lconv * loc
the locale
Definition: json.hpp:17536
const char decimal_point
the locale's decimal point character
Definition: json.hpp:17540
const char thousands_sep
the locale's thousand separator character
Definition: json.hpp:17538
const char indent_char
the indentation character
Definition: json.hpp:17546
string_t indent_string
the indentation string
Definition: json.hpp:17548