{"action":"opened","issue":{"url":"https://api.github.com/repos/joshbuddy/jsonpath/issues/88","repository_url":"https://api.github.com/repos/joshbuddy/jsonpath","labels_url":"https://api.github.com/repos/joshbuddy/jsonpath/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/joshbuddy/jsonpath/issues/88/comments","events_url":"https://api.github.com/repos/joshbuddy/jsonpath/issues/88/events","html_url":"https://github.com/joshbuddy/jsonpath/issues/88","id":335427402,"node_id":"MDU6SXNzdWUzMzU0Mjc0MDI=","number":88,"title":"Delete doesnt delte more than 7 items from an array","user":{"login":"Zejnilovic","id":17467768,"node_id":"MDQ6VXNlcjE3NDY3NzY4","avatar_url":"https://avatars3.githubusercontent.com/u/17467768?v=4","gravatar_id":"","url":"https://api.github.com/users/Zejnilovic","html_url":"https://github.com/Zejnilovic","followers_url":"https://api.github.com/users/Zejnilovic/followers","following_url":"https://api.github.com/users/Zejnilovic/following{/other_user}","gists_url":"https://api.github.com/users/Zejnilovic/gists{/gist_id}","starred_url":"https://api.github.com/users/Zejnilovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zejnilovic/subscriptions","organizations_url":"https://api.github.com/users/Zejnilovic/orgs","repos_url":"https://api.github.com/users/Zejnilovic/repos","events_url":"https://api.github.com/users/Zejnilovic/events{/privacy}","received_events_url":"https://api.github.com/users/Zejnilovic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-25T14:17:38Z","updated_at":"2018-06-25T14:17:38Z","closed_at":null,"author_association":"NONE","body":"```\r\na = {:itemList=>\r\n  [{:alfa=>\"beta\"},\r\n   {:alfa=>\"beta\"},\r\n   {:alfa=>\"beta\"},\r\n   {:alfa=>\"beta\"},\r\n   {:alfa=>\"beta\"},\r\n   {:alfa=>\"beta\"},\r\n   {:alfa=>\"beta\"},\r\n   {:alfa=>\"beta\"},\r\n   {:alfa=>\"beta\"},\r\n   {:alfa=>\"beta\"},\r\n   {:alfa=>\"beta\"},\r\n   {:alfa=>\"beta\"}]}\r\n\r\nJsonPath.for(a.to_json).delete('$..itemList[1:10]')\r\n```\r\nreturns\r\n```\r\n=> #<JsonPath::Proxy:0x000000014a0208\r\n @obj=\r\n  {\"itemList\"=>\r\n    [{\"alfa\"=>\"beta\"}, {\"alfa\"=>\"beta\"}, {\"alfa\"=>\"beta\"}, {\"alfa\"=>\"beta\"}, {\"alfa\"=>\"beta\"}, {\"alfa\"=>\"beta\"}]}>\r\n```\r\n\r\nWhich is too much of items returned. I can switch the 1:10 for 1:7 or 1:8, doesn't make a difference"}}
{"actor":{"display_login":"Zejnilovic"}}