[Issue 15331] std.json objects should implement opIn_r

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Nov 13 23:06:47 PST 2015


https://issues.dlang.org/show_bug.cgi?id=15331

bb.temp at gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bb.temp at gmx.com
         Resolution|---                         |INVALID

--- Comment #1 from bb.temp at gmx.com ---
The opIn_r operator is supported . However another issue should be opened to
ask for it to be documented.

---
void main(string[] args)
{
    import std.json;
    JSONValue v = parseJSON("{}");
    assert("whatever" !in v);
} 
---

--


More information about the Digitalmars-d-bugs mailing list