This code was working some months ago: import std.json; JSONValue total; total.type = JSON_TYPE.OBJECT; total["results"].type = JSON_TYPE.OBJECT;
Now, last line gives me a segmentation fault. What's wrong with this code?
This code was working some months ago: import std.json; JSONValue total; total.type = JSON_TYPE.OBJECT; total["results"].type = JSON_TYPE.OBJECT;
Now, last line gives me a segmentation fault. What's wrong with this code?