diff --git a/uppsrc/Core/JSON.cpp b/uppsrc/Core/JSON.cpp index 8564cc477..b87eae11e 100644 --- a/uppsrc/Core/JSON.cpp +++ b/uppsrc/Core/JSON.cpp @@ -71,7 +71,7 @@ String AsJSON(const Value& v, const String& sep, bool pretty) } if(pretty) r << sep1; - r << AsCString((String)m.GetKeys()[i]) << (pretty ? ": " : ":") + r << AsJSON((String)m.GetKey(i)) << (pretty ? ": " : ":") << AsJSON(va[i], sep1, pretty); } if(pretty)