On 12/17/18 5:09 PM, Anonymouse wrote:
I have a JSON string[][string] associative array object that I want to
take the .toPrettyString value of. However, it sorts the output
alphabetically.
string[][string] aa = [ "abc" : [], "def" : [], "ghi" : [] ];
auto asJSON = JSONValue(aa);
writeln(asJSO
I have a JSON string[][string] associative array object that I
want to take the .toPrettyString value of. However, it sorts the
output alphabetically.
string[][string] aa = [ "abc" : [], "def" : [], "ghi" : [] ];
auto asJSON = JSONValue(aa);
writeln(asJSON.toPrettyString);
Output:
{
"abc"