{"action":"created","issue":{"url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/322","repository_url":"https://api.github.com/repos/bblanchon/ArduinoJson","labels_url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/322/comments","events_url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/322/events","html_url":"https://github.com/bblanchon/ArduinoJson/issues/322","id":165576994,"number":322,"title":"Is it possible to use containsKey method for nested keys?","user":{"login":"gabrielebellini","id":10801741,"avatar_url":"https://avatars.githubusercontent.com/u/10801741?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielebellini","html_url":"https://github.com/gabrielebellini","followers_url":"https://api.github.com/users/gabrielebellini/followers","following_url":"https://api.github.com/users/gabrielebellini/following{/other_user}","gists_url":"https://api.github.com/users/gabrielebellini/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielebellini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielebellini/subscriptions","organizations_url":"https://api.github.com/users/gabrielebellini/orgs","repos_url":"https://api.github.com/users/gabrielebellini/repos","events_url":"https://api.github.com/users/gabrielebellini/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielebellini/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bblanchon/ArduinoJson/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-14T14:35:23Z","updated_at":"2016-07-15T12:22:46Z","closed_at":"2016-07-15T12:22:46Z","body":"Hello,\r\nhaving this json with nested object:\r\n{\"key1\":5,\"body\":{\"key2\":7,\"key3\":9}}\r\nIs there a way to use containsKey for finding nested keys?\r\nroot.containsKey(\"key2\") return false because it's inside \"body\" key. Could this function be use to traverse all levels and find, for example, \"key2\" or \"key3\" presence?\r\n\r\nThanks in advance.\r\n\r\nGabriele\r\n\r\n<!--\r\nThanks for using ArduinoJson :-)\r\n\r\nBefore opening an issue, please make sure you've read these:\r\nhttps://github.com/bblanchon/ArduinoJson/wiki/FAQ\r\nhttps://github.com/bblanchon/ArduinoJson/wiki/Avoiding-pitfalls\r\n\r\nNext, make sure you provide all the relevant information: platform, code snippet, and error messages.\r\n\r\nPlease be concise!\r\n-->"},"comment":{"url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/comments/232937813","html_url":"https://github.com/bblanchon/ArduinoJson/issues/322#issuecomment-232937813","issue_url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/322","id":232937813,"user":{"login":"bblanchon","id":5462433,"avatar_url":"https://avatars.githubusercontent.com/u/5462433?v=3","gravatar_id":"","url":"https://api.github.com/users/bblanchon","html_url":"https://github.com/bblanchon","followers_url":"https://api.github.com/users/bblanchon/followers","following_url":"https://api.github.com/users/bblanchon/following{/other_user}","gists_url":"https://api.github.com/users/bblanchon/gists{/gist_id}","starred_url":"https://api.github.com/users/bblanchon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bblanchon/subscriptions","organizations_url":"https://api.github.com/users/bblanchon/orgs","repos_url":"https://api.github.com/users/bblanchon/repos","events_url":"https://api.github.com/users/bblanchon/events{/privacy}","received_events_url":"https://api.github.com/users/bblanchon/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T12:22:45Z","updated_at":"2016-07-15T12:22:45Z","body":"You're welcome, Gabriele.\r\nThank you for using ArduinoJson and for you contribution on the Wiki.\r\n\r\nOne last thing, you can show your support by adding a star to the project on GitHub; this is always appreciated :wink: "}}
{"actor":{"display_login":"bblanchon"}}