{"action":"closed","issue":{"url":"https://api.github.com/repos/oliveagle/jsonpath/issues/12","repository_url":"https://api.github.com/repos/oliveagle/jsonpath","labels_url":"https://api.github.com/repos/oliveagle/jsonpath/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/oliveagle/jsonpath/issues/12/comments","events_url":"https://api.github.com/repos/oliveagle/jsonpath/issues/12/events","html_url":"https://github.com/oliveagle/jsonpath/issues/12","id":308694655,"node_id":"MDU6SXNzdWUzMDg2OTQ2NTU=","number":12,"title":"Root node fails as an array","user":{"login":"satkunas","id":3904468,"node_id":"MDQ6VXNlcjM5MDQ0Njg=","avatar_url":"https://avatars1.githubusercontent.com/u/3904468?v=4","gravatar_id":"","url":"https://api.github.com/users/satkunas","html_url":"https://github.com/satkunas","followers_url":"https://api.github.com/users/satkunas/followers","following_url":"https://api.github.com/users/satkunas/following{/other_user}","gists_url":"https://api.github.com/users/satkunas/gists{/gist_id}","starred_url":"https://api.github.com/users/satkunas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satkunas/subscriptions","organizations_url":"https://api.github.com/users/satkunas/orgs","repos_url":"https://api.github.com/users/satkunas/repos","events_url":"https://api.github.com/users/satkunas/events{/privacy}","received_events_url":"https://api.github.com/users/satkunas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-26T18:57:53Z","updated_at":"2018-06-06T11:10:15Z","closed_at":"2018-06-06T11:10:15Z","author_association":"NONE","body":"Assume the following data:\r\n\r\n```\r\n{\r\n    \"test\": 12.34\r\n}\r\n```\r\ncompiling with `$.test` works.\r\n\r\nHowever, when the root node is an array:\r\n\r\n```\r\n[{\r\n    \"test\": 12.34\r\n}]\r\n```\r\ncompiling with either `$[0].test` or `$[:].test` fails\r\n"}}
{"actor":{"display_login":"oliveagle"}}