1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

JSON: Add new JSON::Formatter for configuring JSON output

This also fixes an issue where MIDI CI header data could contain spaces,
which is not allowed according to the spec.
This commit is contained in:
reuk 2023-12-05 14:35:09 +00:00
parent 06855ed05d
commit 224c4f706b
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
12 changed files with 203 additions and 96 deletions

View file

@ -1077,7 +1077,7 @@ struct PushNotifications::Pimpl
auto bundle = LocalRef<jobject> (env->NewObject (AndroidBundle, AndroidBundle.constructor));
env->CallVoidMethod (bundle, AndroidBundle.putString, javaString ("properties").get(),
javaString (JSON::toString (varToParse, false)).get());
javaString (JSON::toString (varToParse)).get());
return bundle;
}