{"action":"closed","issue":{"url":"https://api.github.com/repos/zooniverse/caesar/issues/121","repository_url":"https://api.github.com/repos/zooniverse/caesar","labels_url":"https://api.github.com/repos/zooniverse/caesar/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/zooniverse/caesar/issues/121/comments","events_url":"https://api.github.com/repos/zooniverse/caesar/issues/121/events","html_url":"https://github.com/zooniverse/caesar/issues/121","id":251295197,"number":121,"title":"extractor that applies jsonpath expression to classification","user":{"login":"amyrebecca","id":8491638,"avatar_url":"https://avatars0.githubusercontent.com/u/8491638?v=4","gravatar_id":"","url":"https://api.github.com/users/amyrebecca","html_url":"https://github.com/amyrebecca","followers_url":"https://api.github.com/users/amyrebecca/followers","following_url":"https://api.github.com/users/amyrebecca/following{/other_user}","gists_url":"https://api.github.com/users/amyrebecca/gists{/gist_id}","starred_url":"https://api.github.com/users/amyrebecca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amyrebecca/subscriptions","organizations_url":"https://api.github.com/users/amyrebecca/orgs","repos_url":"https://api.github.com/users/amyrebecca/repos","events_url":"https://api.github.com/users/amyrebecca/events{/privacy}","received_events_url":"https://api.github.com/users/amyrebecca/received_events","type":"User","site_admin":false},"labels":[{"id":516673680,"url":"https://api.github.com/repos/zooniverse/caesar/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":641517603,"url":"https://api.github.com/repos/zooniverse/caesar/labels/intro2astro","name":"intro2astro","color":"880088","default":false},{"id":516673683,"url":"https://api.github.com/repos/zooniverse/caesar/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-18T16:24:19Z","updated_at":"2017-08-18T21:27:00Z","closed_at":"2017-08-18T21:27:00Z","body":"Given that we have a very composable design for our extract/reduce pipeline, I can imagine lots of times that we'd want to just pluck a single field out of the classification (for example, pulling out classroom groupings). JsonPath is a standard that specifies a query language for JSON blobs similar to what XPath provides for XML. It would be neat and relatively quick to write a JsonPath/pluck extractor to get the value of a single field, and ruby gems exist that apply JsonPath expressions to JSON blobs or ruby hashes.\r\n\r\nhttps://github.com/joshbuddy/jsonpath\r\nhttps://stackoverflow.com/questions/13422607/filter-hash-with-jsonpath\r\n"}}
{"actor":{"display_login":"amyrebecca"}}