{"action":"created","issue":{"url":"https://api.github.com/repos/spf13/hugo/issues/748","labels_url":"https://api.github.com/repos/spf13/hugo/issues/748/labels{/name}","comments_url":"https://api.github.com/repos/spf13/hugo/issues/748/comments","events_url":"https://api.github.com/repos/spf13/hugo/issues/748/events","html_url":"https://github.com/spf13/hugo/pull/748","id":52947931,"number":748,"title":"Feature: GetJson and GetJson in short codes or other layout files.","user":{"login":"SchumacherFM","id":372027,"avatar_url":"https://avatars.githubusercontent.com/u/372027?v=3","gravatar_id":"","url":"https://api.github.com/users/SchumacherFM","html_url":"https://github.com/SchumacherFM","followers_url":"https://api.github.com/users/SchumacherFM/followers","following_url":"https://api.github.com/users/SchumacherFM/following{/other_user}","gists_url":"https://api.github.com/users/SchumacherFM/gists{/gist_id}","starred_url":"https://api.github.com/users/SchumacherFM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SchumacherFM/subscriptions","organizations_url":"https://api.github.com/users/SchumacherFM/orgs","repos_url":"https://api.github.com/users/SchumacherFM/repos","events_url":"https://api.github.com/users/SchumacherFM/events{/privacy}","received_events_url":"https://api.github.com/users/SchumacherFM/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spf13/hugo/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":29,"created_at":"2014-12-27T04:28:12Z","updated_at":"2015-02-10T22:47:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/spf13/hugo/pulls/748","html_url":"https://github.com/spf13/hugo/pull/748","diff_url":"https://github.com/spf13/hugo/pull/748.diff","patch_url":"https://github.com/spf13/hugo/pull/748.patch"},"body":"I have finished the integration of getJson and getCsv into hugo as far as I think it fits.\r\n\r\nI'm not a hugo (and Go) expert of where to put these functions and correct naming of functions and vars.\r\n\r\nI would be glad if you can comment on spotted errors, bugs, bad design, etc. or even help me to improve the code more.\r\n\r\nAll tests and the new tests are passing. Goimports has reordered some import paths.\r\n\r\nI have written a blog post about that new feature: [http://cyrillschumacher.com/2014/12/21/dynamic-pages-with-gohugo.io/](http://cyrillschumacher.com/2014/12/21/dynamic-pages-with-gohugo.io/)\r\n\r\nThere is not yet any official documentation because I want to get the code right. I think once this feature is merged as a hidden feature into hugo and some people tested it in the wild with no given complaints I will write the docs.\r\n\r\nLooking forward for a successful merge :-)"},"comment":{"url":"https://api.github.com/repos/spf13/hugo/issues/comments/73800928","html_url":"https://github.com/spf13/hugo/pull/748#issuecomment-73800928","issue_url":"https://api.github.com/repos/spf13/hugo/issues/748","id":73800928,"user":{"login":"SchumacherFM","id":372027,"avatar_url":"https://avatars.githubusercontent.com/u/372027?v=3","gravatar_id":"","url":"https://api.github.com/users/SchumacherFM","html_url":"https://github.com/SchumacherFM","followers_url":"https://api.github.com/users/SchumacherFM/followers","following_url":"https://api.github.com/users/SchumacherFM/following{/other_user}","gists_url":"https://api.github.com/users/SchumacherFM/gists{/gist_id}","starred_url":"https://api.github.com/users/SchumacherFM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SchumacherFM/subscriptions","organizations_url":"https://api.github.com/users/SchumacherFM/orgs","repos_url":"https://api.github.com/users/SchumacherFM/repos","events_url":"https://api.github.com/users/SchumacherFM/events{/privacy}","received_events_url":"https://api.github.com/users/SchumacherFM/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T22:47:11Z","updated_at":"2015-02-10T22:47:11Z","body":"I will start on the week with writing the docs on a new branch."}}