{"action":"created","issue":{"url":"https://api.github.com/repos/dchester/jsonpath/issues/84","repository_url":"https://api.github.com/repos/dchester/jsonpath","labels_url":"https://api.github.com/repos/dchester/jsonpath/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/dchester/jsonpath/issues/84/comments","events_url":"https://api.github.com/repos/dchester/jsonpath/issues/84/events","html_url":"https://github.com/dchester/jsonpath/issues/84","id":279099891,"number":84,"title":"How to get back object after apply?","user":{"login":"mnpenner","id":1112998,"avatar_url":"https://avatars1.githubusercontent.com/u/1112998?v=4","gravatar_id":"","url":"https://api.github.com/users/mnpenner","html_url":"https://github.com/mnpenner","followers_url":"https://api.github.com/users/mnpenner/followers","following_url":"https://api.github.com/users/mnpenner/following{/other_user}","gists_url":"https://api.github.com/users/mnpenner/gists{/gist_id}","starred_url":"https://api.github.com/users/mnpenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnpenner/subscriptions","organizations_url":"https://api.github.com/users/mnpenner/orgs","repos_url":"https://api.github.com/users/mnpenner/repos","events_url":"https://api.github.com/users/mnpenner/events{/privacy}","received_events_url":"https://api.github.com/users/mnpenner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-04T18:29:46Z","updated_at":"2018-03-07T23:07:33Z","closed_at":"2018-03-07T23:07:33Z","author_association":"NONE","body":"[`jp.apply`](https://www.npmjs.com/package/jsonpath#jpapplyobj-pathexpression-fn) looks a lot like what I want, but I was hoping to be able to get back the mutated object tree instead of an array of paths. Is that possible?\r\n\r\nBasically I have some source JSON that I need to \"fix\", so the result needs to have the same structure. I guess I can pull out the paths, lop off the first \"$\" element and then patch up the object, but then I wonder what the purpose of `.apply` is?"},"comment":{"url":"https://api.github.com/repos/dchester/jsonpath/issues/comments/371318138","html_url":"https://github.com/dchester/jsonpath/issues/84#issuecomment-371318138","issue_url":"https://api.github.com/repos/dchester/jsonpath/issues/84","id":371318138,"user":{"login":"mnpenner","id":1112998,"avatar_url":"https://avatars1.githubusercontent.com/u/1112998?v=4","gravatar_id":"","url":"https://api.github.com/users/mnpenner","html_url":"https://github.com/mnpenner","followers_url":"https://api.github.com/users/mnpenner/followers","following_url":"https://api.github.com/users/mnpenner/following{/other_user}","gists_url":"https://api.github.com/users/mnpenner/gists{/gist_id}","starred_url":"https://api.github.com/users/mnpenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnpenner/subscriptions","organizations_url":"https://api.github.com/users/mnpenner/orgs","repos_url":"https://api.github.com/users/mnpenner/repos","events_url":"https://api.github.com/users/mnpenner/events{/privacy}","received_events_url":"https://api.github.com/users/mnpenner/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T23:07:33Z","updated_at":"2018-03-07T23:07:33Z","author_association":"NONE","body":"@timo-klarshift Oh... maybe when I wrote that I didn't realize it was mutating the object in-place. Looks like it will do what I wanted after all, thanks!"}}
{"actor":{"display_login":"mnpenner"}}