On Friday, 22 January 2016 at 12:05:48 UTC, userABCabc123 wrote:
when you add the first key, the value will be set to JSON_TYPE.OBJECT---- import std.json; void main(string[] args) { JSONValue json; json["first"] = 0; assert(json.type == JSON_TYPE.OBJECT); } ----
That's right, but I need an empty object, without any key set!