{"action":"created","issue":{"url":"https://api.github.com/repos/jekyll/jekyll/issues/4672","repository_url":"https://api.github.com/repos/jekyll/jekyll","labels_url":"https://api.github.com/repos/jekyll/jekyll/issues/4672/labels{/name}","comments_url":"https://api.github.com/repos/jekyll/jekyll/issues/4672/comments","events_url":"https://api.github.com/repos/jekyll/jekyll/issues/4672/events","html_url":"https://github.com/jekyll/jekyll/pull/4672","id":141409854,"number":4672,"title":"Add ability to jsonify Drop","user":{"login":"stefanw","id":78356,"avatar_url":"https://avatars.githubusercontent.com/u/78356?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanw","html_url":"https://github.com/stefanw","followers_url":"https://api.github.com/users/stefanw/followers","following_url":"https://api.github.com/users/stefanw/following{/other_user}","gists_url":"https://api.github.com/users/stefanw/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanw/subscriptions","organizations_url":"https://api.github.com/users/stefanw/orgs","repos_url":"https://api.github.com/users/stefanw/repos","events_url":"https://api.github.com/users/stefanw/events{/privacy}","received_events_url":"https://api.github.com/users/stefanw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jekyll/jekyll/labels/fix","name":"fix","color":"eb6420"},{"url":"https://api.github.com/repos/jekyll/jekyll/labels/pending-feedback","name":"pending-feedback","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jekyll/jekyll/milestones/33","html_url":"https://github.com/jekyll/jekyll/milestones/3.2","labels_url":"https://api.github.com/repos/jekyll/jekyll/milestones/33/labels","id":1483217,"number":33,"title":"3.2","description":null,"creator":{"login":"parkr","id":237985,"avatar_url":"https://avatars.githubusercontent.com/u/237985?v=3","gravatar_id":"","url":"https://api.github.com/users/parkr","html_url":"https://github.com/parkr","followers_url":"https://api.github.com/users/parkr/followers","following_url":"https://api.github.com/users/parkr/following{/other_user}","gists_url":"https://api.github.com/users/parkr/gists{/gist_id}","starred_url":"https://api.github.com/users/parkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parkr/subscriptions","organizations_url":"https://api.github.com/users/parkr/orgs","repos_url":"https://api.github.com/users/parkr/repos","events_url":"https://api.github.com/users/parkr/events{/privacy}","received_events_url":"https://api.github.com/users/parkr/received_events","type":"User","site_admin":true},"open_issues":25,"closed_issues":23,"state":"open","created_at":"2016-01-04T19:07:17Z","updated_at":"2016-03-25T23:27:38Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-03-16T21:40:31Z","updated_at":"2016-03-29T15:23:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jekyll/jekyll/pulls/4672","html_url":"https://github.com/jekyll/jekyll/pull/4672","diff_url":"https://github.com/jekyll/jekyll/pull/4672.diff","patch_url":"https://github.com/jekyll/jekyll/pull/4672.patch"},"body":"Currently `{{ page | jsonify }}` returns a JSON string of the page content while a JSON representation of the pages data is more useful. This PR adds a `to_json` to the `Drop` class and dumps the YAML front matter data.\r\n\r\nThe Drop contains more than just a page's YAML front matter data. However, dumping the complete drop is apparently not possible due to the recursive nature of some objects (e.g. probably `previous` and `next`).\r\n\r\nThis PR would close #4668."},"comment":{"url":"https://api.github.com/repos/jekyll/jekyll/issues/comments/202950844","html_url":"https://github.com/jekyll/jekyll/pull/4672#issuecomment-202950844","issue_url":"https://api.github.com/repos/jekyll/jekyll/issues/4672","id":202950844,"user":{"login":"stefanw","id":78356,"avatar_url":"https://avatars.githubusercontent.com/u/78356?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanw","html_url":"https://github.com/stefanw","followers_url":"https://api.github.com/users/stefanw/followers","following_url":"https://api.github.com/users/stefanw/following{/other_user}","gists_url":"https://api.github.com/users/stefanw/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanw/subscriptions","organizations_url":"https://api.github.com/users/stefanw/orgs","repos_url":"https://api.github.com/users/stefanw/repos","events_url":"https://api.github.com/users/stefanw/events{/privacy}","received_events_url":"https://api.github.com/users/stefanw/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T15:23:31Z","updated_at":"2016-03-29T15:23:31Z","body":"Now I'm calling `url` on the previous/next values when they're not `nil`."}}