kazuho/picojson — pull request #4 by fetus-hina (2012-03-19 12:01:24+00:00)
Title: Add picojson::value::contains() functions

Current picojson::value::get() functions cannot distinguish "value is null" or "key not exists".
Because value::get() function returns reference to static null variable if index is invalid or key not exists.

I created contains() function to distinguish these states.