Err, wrong line. This one can't be changed because the [] operator in json::Object isn't const -- I discovered (the hard way) that just reading ["foo"] has the side effect of creating the key "foo" with a null value if the key doesn't exist.