{"action":"opened","issue":{"url":"https://api.github.com/repos/olistik/json_query/issues/1","repository_url":"https://api.github.com/repos/olistik/json_query","labels_url":"https://api.github.com/repos/olistik/json_query/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/olistik/json_query/issues/1/comments","events_url":"https://api.github.com/repos/olistik/json_query/issues/1/events","html_url":"https://github.com/olistik/json_query/issues/1","id":171754726,"number":1,"title":"Implement segments wildcard","user":{"login":"olistik","id":21038,"avatar_url":"https://avatars.githubusercontent.com/u/21038?v=3","gravatar_id":"","url":"https://api.github.com/users/olistik","html_url":"https://github.com/olistik","followers_url":"https://api.github.com/users/olistik/followers","following_url":"https://api.github.com/users/olistik/following{/other_user}","gists_url":"https://api.github.com/users/olistik/gists{/gist_id}","starred_url":"https://api.github.com/users/olistik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olistik/subscriptions","organizations_url":"https://api.github.com/users/olistik/orgs","repos_url":"https://api.github.com/users/olistik/repos","events_url":"https://api.github.com/users/olistik/events{/privacy}","received_events_url":"https://api.github.com/users/olistik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/olistik/json_query/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-17T20:39:01Z","updated_at":"2016-08-17T20:39:01Z","closed_at":null,"body":"Something like this:\r\n\r\n```ruby\r\nrequire \"json_query\"\r\n\r\ndata = {\r\n  \"foo\" => \"bar\",\r\n  \"spam\" => {\r\n    \"eggs\" => [\r\n      {\"name\" => \"qui\", \"password\" => \"x\"},\r\n      {\"name\" => \"quo\", \"password\" => \"y\"},\r\n      {\"name\" => \"qua\", \"password\" => \"z\"}\r\n    ]\r\n  }\r\n}\r\n\r\nJsonQuery.perform(data: data, query: \"_.egg[].pass\")\r\nJsonQuery.perform(data: data, query: \"spa._.pass\")\r\n# => [{:path=>\"spam.eggs[0].password\", :value=>\"x\"}, {:path=>\"spam.eggs[1].password\", :value=>\"y\"}, {:path=>\"spam.eggs[2].password\", :value=>\"z\"}]\r\n```\r\n"}}
{"actor":{"display_login":"olistik"}}