Minify option in VRCJson does not format to minimum.
interested
ureishi
When serializing in VRCJson with JsonExportType set to Minify, the output contains unnecessary whitespace.
To save data size, it would be better if no whitespace was included when Minify is specified.
var j = new DataDictionary();
j["e1"] = 1; j["e2"] = 2;
if (VRCJson.TrySerializeToJson(j, JsonExportType.Minify, out var res))
{
Debug.Log(res);
}
Result:
{"e1": 1, "e2": 2}
Log In
Fax
interested
This sounds like it could be useful! Thank you for the suggestion.