D-Programming-Language/phobos — pull request #2417 by dcarp (2014-08-11 20:46:50+00:00)
Title: JSON object and JSON array operator overloads

This patch adds the necessary operator overloads for appending to JSON objects and JSON arrays, so that the user doesn't need anymore to manipulate the underlying `JSONValue` structures.

Examples:
```
JSONValue foo = JSONValue([10, 12]);
foo ~= ["abc"]; // foo contains [JSONValue(10), JSONValue(12), JSONValue("abc")];

JSONValue bar = JSONValue(["key1": 10]);
bar["key2"] = "abc"; // bar contains ["key1": JSONValue(10), "key2": JSONValue("abc")];
```