Comment #0 by giacomo.ratto — 2021-08-30T10:40:54Z
The following code fails to compile:
JSONValue j = [ "foo": "bar" ];
if (JSONValue* f = "foo" in j) // Error: cannot convert `const(JSONValue)*` to `JSONValue*`
*f = "baz";
making the method inout would solve the problem: https://github.com/dlang/phobos/pull/8218