mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
JSON: Use UTF8 encoding by default
This commit is contained in:
parent
379afb1e3f
commit
1e5c88899e
4 changed files with 288 additions and 71 deletions
|
|
@ -120,7 +120,7 @@ void DynamicObject::writeAsJSON (OutputStream& out, const JSON::FormatOptions& f
|
|||
JSONFormatter::writeSpaces (out, format.getIndentLevel() + JSONFormatter::indentSize);
|
||||
|
||||
out << '"';
|
||||
JSONFormatter::writeString (out, properties.getName (i));
|
||||
JSONFormatter::writeString (out, properties.getName (i), format.getEncoding());
|
||||
out << "\":";
|
||||
|
||||
if (format.getSpacing() != JSON::Spacing::none)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue