https://issues.dlang.org/show_bug.cgi?id=15331
but it's true !
There's **nothing** to check the availability of a Key. At least
I would expect opIndex[string key] to return a JSONValue with
.type == JSON_TYPE.NULL, but no...
Also If it was returning a JSONValue* it would be easyer to check
On Saturday, 14 November 2015 at 06:51:14 UTC, anonymous wrote:
On 14.11.2015 07:30, MesmerizedInTheMorning wrote:
[...]
JSONValue supports `in`, though:
import std.stdio;
import std.json;
void main()
{
foreach (jsonStr; ["{}", "{\"foo\": 42}"])
{
JSONValue jsonObj = parse