D-Programming-Language/phobos — pull request #2194 by markisaa (2014-05-21 22:13:42+00:00)
Title: Issue 12784: Added an in operator to std.json.JSONValue. Tested when const/non-const

Currently the only way to check if a JSONValue (that is of type JSON_TYPE.OBJECT) contains a particular key/property is to wrap opIndex with a try catch block. This feels horribly clumsy. We should have an opBinaryRight "in" operator to allow checking without throwing.

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