mirror of
https://github.com/nlohmann/json.git
synced 2026-10-15 18:57:13 +00:00
dump to alternate implementation of string, as defined in basic_json template
This commit is contained in:
1 parent
6151dfaed7
commit
faccc37d0d
2 files changed
+6
-6
No files matched your search
@@ -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