{"action":"created","issue":{"url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/485","labels_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/485/labels{/name}","comments_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/485/comments","events_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/485/events","html_url":"https://github.com/defunkt/jquery-pjax/issues/485","id":57661903,"number":485,"title":"Pjax and Response JSON?","user":{"login":"Yarisrespect","id":6161950,"avatar_url":"https://avatars.githubusercontent.com/u/6161950?v=3","gravatar_id":"","url":"https://api.github.com/users/Yarisrespect","html_url":"https://github.com/Yarisrespect","followers_url":"https://api.github.com/users/Yarisrespect/followers","following_url":"https://api.github.com/users/Yarisrespect/following{/other_user}","gists_url":"https://api.github.com/users/Yarisrespect/gists{/gist_id}","starred_url":"https://api.github.com/users/Yarisrespect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yarisrespect/subscriptions","organizations_url":"https://api.github.com/users/Yarisrespect/orgs","repos_url":"https://api.github.com/users/Yarisrespect/repos","events_url":"https://api.github.com/users/Yarisrespect/events{/privacy}","received_events_url":"https://api.github.com/users/Yarisrespect/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-13T22:20:41Z","updated_at":"2015-02-14T01:47:59Z","closed_at":"2015-02-14T01:47:59Z","body":"Pjax.options.dataType NOT using!"},"comment":{"url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/comments/74355802","html_url":"https://github.com/defunkt/jquery-pjax/issues/485#issuecomment-74355802","issue_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/485","id":74355802,"user":{"login":"mislav","id":887,"avatar_url":"https://avatars.githubusercontent.com/u/887?v=3","gravatar_id":"","url":"https://api.github.com/users/mislav","html_url":"https://github.com/mislav","followers_url":"https://api.github.com/users/mislav/followers","following_url":"https://api.github.com/users/mislav/following{/other_user}","gists_url":"https://api.github.com/users/mislav/gists{/gist_id}","starred_url":"https://api.github.com/users/mislav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mislav/subscriptions","organizations_url":"https://api.github.com/users/mislav/orgs","repos_url":"https://api.github.com/users/mislav/repos","events_url":"https://api.github.com/users/mislav/events{/privacy}","received_events_url":"https://api.github.com/users/mislav/received_events","type":"User","site_admin":true},"created_at":"2015-02-14T01:47:59Z","updated_at":"2015-02-14T01:47:59Z","body":"Yes, pjax doesn't support JSON responses. Pjax is a library that fetches a partial HTML for the next page from the server and replaces the current content with the new HTML. Pjax as a library doesn't make sense when the server response is something other than HTML, like JSON.\r\n\r\nSee https://github.com/defunkt/jquery-pjax/issues/435#issuecomment-55927932"}}