[#nlohmann-basic_json-00-dump] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-00.adoc[basic_json]::dump :relfileprefix: ../../ :mrdocs: serialization == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:nlohmann/basic_json-00/string_t.adoc[string_t] dump( int const indent = ‐1, char const indent_char = ' ', bool const ensure_ascii = false, xref:nlohmann/basic_json-00/error_handler_t.adoc[error_handler_t] const error_handler = error_handler_t::strict) const; ---- == Return Value a type for a string == Parameters [cols=2] |=== | Name | Description | *error_handler* | how to treat decoding errors |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#