mirror of
https://github.com/nlohmann/json.git
synced 2026-05-31 02:15:23 +00:00
dump to alternate implementation of string, as defined in basic_json template
This commit is contained in:
@@ -1947,7 +1947,7 @@ class basic_json
|
||||
const bool ensure_ascii = false) const
|
||||
{
|
||||
string_t result;
|
||||
serializer s(detail::output_adapter<char>(result), indent_char);
|
||||
serializer s(detail::output_adapter<char, string_t>(result), indent_char);
|
||||
|
||||
if (indent >= 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user