{"action":"created","comment":{"url":"https://api.github.com/repos/clanhr/ring-test-client/pulls/comments/62175053","id":62175053,"diff_hunk":"@@ -5,6 +5,12 @@\n   (:use clojure.test\n         ring.mock.request))\n \n+(defn ->edn [raw]","path":"src/clanhr/ring_test_client/core.clj","position":4,"original_position":4,"commit_id":"b8e40ca18bf83e95d179f827c88eb735b8fdb1b5","original_commit_id":"b8e40ca18bf83e95d179f827c88eb735b8fdb1b5","user":{"login":"donbonifacio","id":483669,"avatar_url":"https://avatars.githubusercontent.com/u/483669?v=3","gravatar_id":"","url":"https://api.github.com/users/donbonifacio","html_url":"https://github.com/donbonifacio","followers_url":"https://api.github.com/users/donbonifacio/followers","following_url":"https://api.github.com/users/donbonifacio/following{/other_user}","gists_url":"https://api.github.com/users/donbonifacio/gists{/gist_id}","starred_url":"https://api.github.com/users/donbonifacio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donbonifacio/subscriptions","organizations_url":"https://api.github.com/users/donbonifacio/orgs","repos_url":"https://api.github.com/users/donbonifacio/repos","events_url":"https://api.github.com/users/donbonifacio/events{/privacy}","received_events_url":"https://api.github.com/users/donbonifacio/received_events","type":"User","site_admin":false},"body":"Yes that's on the first chapter. Still need to get the rest, but I'll wait for the complete version.","created_at":"2016-05-05T11:18:59Z","updated_at":"2016-05-05T11:18:59Z","html_url":"https://github.com/clanhr/ring-test-client/pull/4#discussion_r62175053","pull_request_url":"https://api.github.com/repos/clanhr/ring-test-client/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/clanhr/ring-test-client/pulls/comments/62175053"},"html":{"href":"https://github.com/clanhr/ring-test-client/pull/4#discussion_r62175053"},"pull_request":{"href":"https://api.github.com/repos/clanhr/ring-test-client/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/clanhr/ring-test-client/pulls/4","id":68992409,"html_url":"https://github.com/clanhr/ring-test-client/pull/4","diff_url":"https://github.com/clanhr/ring-test-client/pull/4.diff","patch_url":"https://github.com/clanhr/ring-test-client/pull/4.patch","issue_url":"https://api.github.com/repos/clanhr/ring-test-client/issues/4","number":4,"state":"closed","locked":false,"title":"Don't always convert from json string to edn","user":{"login":"donbonifacio","id":483669,"avatar_url":"https://avatars.githubusercontent.com/u/483669?v=3","gravatar_id":"","url":"https://api.github.com/users/donbonifacio","html_url":"https://github.com/donbonifacio","followers_url":"https://api.github.com/users/donbonifacio/followers","following_url":"https://api.github.com/users/donbonifacio/following{/other_user}","gists_url":"https://api.github.com/users/donbonifacio/gists{/gist_id}","starred_url":"https://api.github.com/users/donbonifacio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donbonifacio/subscriptions","organizations_url":"https://api.github.com/users/donbonifacio/orgs","repos_url":"https://api.github.com/users/donbonifacio/repos","events_url":"https://api.github.com/users/donbonifacio/events{/privacy}","received_events_url":"https://api.github.com/users/donbonifacio/received_events","type":"User","site_admin":false},"body":"Motivation:\n\nWith the swagger lib, the reply now does not return a json string, but\nactual edn.\n\nModifications:\n\nCreate a fn that is smart enough on how to convert to edn. If the param\nis already a clojure object return it. If it's a string, build as json.\nElse, it may be a stream that will handle a string, so slurp it and\nbuild as json.","created_at":"2016-05-05T10:58:39Z","updated_at":"2016-05-05T11:18:59Z","closed_at":"2016-05-05T11:15:46Z","merged_at":"2016-05-05T11:15:46Z","merge_commit_sha":"957fa0c4aff1a2693f2038c98a1385818a08fbdb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/clanhr/ring-test-client/pulls/4/commits","review_comments_url":"https://api.github.com/repos/clanhr/ring-test-client/pulls/4/comments","review_comment_url":"https://api.github.com/repos/clanhr/ring-test-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clanhr/ring-test-client/issues/4/comments","statuses_url":"https://api.github.com/repos/clanhr/ring-test-client/statuses/b8e40ca18bf83e95d179f827c88eb735b8fdb1b5","head":{"label":"clanhr:better-reponse-handling","ref":"better-reponse-handling","sha":"b8e40ca18bf83e95d179f827c88eb735b8fdb1b5","user":{"login":"clanhr","id":10629845,"avatar_url":"https://avatars.githubusercontent.com/u/10629845?v=3","gravatar_id":"","url":"https://api.github.com/users/clanhr","html_url":"https://github.com/clanhr","followers_url":"https://api.github.com/users/clanhr/followers","following_url":"https://api.github.com/users/clanhr/following{/other_user}","gists_url":"https://api.github.com/users/clanhr/gists{/gist_id}","starred_url":"https://api.github.com/users/clanhr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clanhr/subscriptions","organizations_url":"https://api.github.com/users/clanhr/orgs","repos_url":"https://api.github.com/users/clanhr/repos","events_url":"https://api.github.com/users/clanhr/events{/privacy}","received_events_url":"https://api.github.com/users/clanhr/received_events","type":"Organization","site_admin":false},"repo":{"id":35475198,"name":"ring-test-client","full_name":"clanhr/ring-test-client","owner":{"login":"clanhr","id":10629845,"avatar_url":"https://avatars.githubusercontent.com/u/10629845?v=3","gravatar_id":"","url":"https://api.github.com/users/clanhr","html_url":"https://github.com/clanhr","followers_url":"https://api.github.com/users/clanhr/followers","following_url":"https://api.github.com/users/clanhr/following{/other_user}","gists_url":"https://api.github.com/users/clanhr/gists{/gist_id}","starred_url":"https://api.github.com/users/clanhr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clanhr/subscriptions","organizations_url":"https://api.github.com/users/clanhr/orgs","repos_url":"https://api.github.com/users/clanhr/repos","events_url":"https://api.github.com/users/clanhr/events{/privacy}","received_events_url":"https://api.github.com/users/clanhr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clanhr/ring-test-client","description":"Test utilities on top of ring.mock","fork":false,"url":"https://api.github.com/repos/clanhr/ring-test-client","forks_url":"https://api.github.com/repos/clanhr/ring-test-client/forks","keys_url":"https://api.github.com/repos/clanhr/ring-test-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clanhr/ring-test-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clanhr/ring-test-client/teams","hooks_url":"https://api.github.com/repos/clanhr/ring-test-client/hooks","issue_events_url":"https://api.github.com/repos/clanhr/ring-test-client/issues/events{/number}","events_url":"https://api.github.com/repos/clanhr/ring-test-client/events","assignees_url":"https://api.github.com/repos/clanhr/ring-test-client/assignees{/user}","branches_url":"https://api.github.com/repos/clanhr/ring-test-client/branches{/branch}","tags_url":"https://api.github.com/repos/clanhr/ring-test-client/tags","blobs_url":"https://api.github.com/repos/clanhr/ring-test-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clanhr/ring-test-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clanhr/ring-test-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/clanhr/ring-test-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clanhr/ring-test-client/statuses/{sha}","languages_url":"https://api.github.com/repos/clanhr/ring-test-client/languages","stargazers_url":"https://api.github.com/repos/clanhr/ring-test-client/stargazers","contributors_url":"https://api.github.com/repos/clanhr/ring-test-client/contributors","subscribers_url":"https://api.github.com/repos/clanhr/ring-test-client/subscribers","subscription_url":"https://api.github.com/repos/clanhr/ring-test-client/subscription","commits_url":"https://api.github.com/repos/clanhr/ring-test-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/clanhr/ring-test-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/clanhr/ring-test-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/clanhr/ring-test-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/clanhr/ring-test-client/contents/{+path}","compare_url":"https://api.github.com/repos/clanhr/ring-test-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clanhr/ring-test-client/merges","archive_url":"https://api.github.com/repos/clanhr/ring-test-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clanhr/ring-test-client/downloads","issues_url":"https://api.github.com/repos/clanhr/ring-test-client/issues{/number}","pulls_url":"https://api.github.com/repos/clanhr/ring-test-client/pulls{/number}","milestones_url":"https://api.github.com/repos/clanhr/ring-test-client/milestones{/number}","notifications_url":"https://api.github.com/repos/clanhr/ring-test-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clanhr/ring-test-client/labels{/name}","releases_url":"https://api.github.com/repos/clanhr/ring-test-client/releases{/id}","deployments_url":"https://api.github.com/repos/clanhr/ring-test-client/deployments","created_at":"2015-05-12T08:05:32Z","updated_at":"2016-05-05T11:15:47Z","pushed_at":"2016-05-05T11:15:47Z","git_url":"git://github.com/clanhr/ring-test-client.git","ssh_url":"git@github.com:clanhr/ring-test-client.git","clone_url":"https://github.com/clanhr/ring-test-client.git","svn_url":"https://github.com/clanhr/ring-test-client","homepage":"https://clojars.org/clanhr/ring-test-client","size":7,"stargazers_count":5,"watchers_count":5,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":5,"default_branch":"master"}},"base":{"label":"clanhr:master","ref":"master","sha":"22829406bd9e334f2f9e8b434c493c350d00ab30","user":{"login":"clanhr","id":10629845,"avatar_url":"https://avatars.githubusercontent.com/u/10629845?v=3","gravatar_id":"","url":"https://api.github.com/users/clanhr","html_url":"https://github.com/clanhr","followers_url":"https://api.github.com/users/clanhr/followers","following_url":"https://api.github.com/users/clanhr/following{/other_user}","gists_url":"https://api.github.com/users/clanhr/gists{/gist_id}","starred_url":"https://api.github.com/users/clanhr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clanhr/subscriptions","organizations_url":"https://api.github.com/users/clanhr/orgs","repos_url":"https://api.github.com/users/clanhr/repos","events_url":"https://api.github.com/users/clanhr/events{/privacy}","received_events_url":"https://api.github.com/users/clanhr/received_events","type":"Organization","site_admin":false},"repo":{"id":35475198,"name":"ring-test-client","full_name":"clanhr/ring-test-client","owner":{"login":"clanhr","id":10629845,"avatar_url":"https://avatars.githubusercontent.com/u/10629845?v=3","gravatar_id":"","url":"https://api.github.com/users/clanhr","html_url":"https://github.com/clanhr","followers_url":"https://api.github.com/users/clanhr/followers","following_url":"https://api.github.com/users/clanhr/following{/other_user}","gists_url":"https://api.github.com/users/clanhr/gists{/gist_id}","starred_url":"https://api.github.com/users/clanhr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clanhr/subscriptions","organizations_url":"https://api.github.com/users/clanhr/orgs","repos_url":"https://api.github.com/users/clanhr/repos","events_url":"https://api.github.com/users/clanhr/events{/privacy}","received_events_url":"https://api.github.com/users/clanhr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clanhr/ring-test-client","description":"Test utilities on top of ring.mock","fork":false,"url":"https://api.github.com/repos/clanhr/ring-test-client","forks_url":"https://api.github.com/repos/clanhr/ring-test-client/forks","keys_url":"https://api.github.com/repos/clanhr/ring-test-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clanhr/ring-test-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clanhr/ring-test-client/teams","hooks_url":"https://api.github.com/repos/clanhr/ring-test-client/hooks","issue_events_url":"https://api.github.com/repos/clanhr/ring-test-client/issues/events{/number}","events_url":"https://api.github.com/repos/clanhr/ring-test-client/events","assignees_url":"https://api.github.com/repos/clanhr/ring-test-client/assignees{/user}","branches_url":"https://api.github.com/repos/clanhr/ring-test-client/branches{/branch}","tags_url":"https://api.github.com/repos/clanhr/ring-test-client/tags","blobs_url":"https://api.github.com/repos/clanhr/ring-test-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clanhr/ring-test-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clanhr/ring-test-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/clanhr/ring-test-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clanhr/ring-test-client/statuses/{sha}","languages_url":"https://api.github.com/repos/clanhr/ring-test-client/languages","stargazers_url":"https://api.github.com/repos/clanhr/ring-test-client/stargazers","contributors_url":"https://api.github.com/repos/clanhr/ring-test-client/contributors","subscribers_url":"https://api.github.com/repos/clanhr/ring-test-client/subscribers","subscription_url":"https://api.github.com/repos/clanhr/ring-test-client/subscription","commits_url":"https://api.github.com/repos/clanhr/ring-test-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/clanhr/ring-test-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/clanhr/ring-test-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/clanhr/ring-test-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/clanhr/ring-test-client/contents/{+path}","compare_url":"https://api.github.com/repos/clanhr/ring-test-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clanhr/ring-test-client/merges","archive_url":"https://api.github.com/repos/clanhr/ring-test-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clanhr/ring-test-client/downloads","issues_url":"https://api.github.com/repos/clanhr/ring-test-client/issues{/number}","pulls_url":"https://api.github.com/repos/clanhr/ring-test-client/pulls{/number}","milestones_url":"https://api.github.com/repos/clanhr/ring-test-client/milestones{/number}","notifications_url":"https://api.github.com/repos/clanhr/ring-test-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clanhr/ring-test-client/labels{/name}","releases_url":"https://api.github.com/repos/clanhr/ring-test-client/releases{/id}","deployments_url":"https://api.github.com/repos/clanhr/ring-test-client/deployments","created_at":"2015-05-12T08:05:32Z","updated_at":"2016-05-05T11:15:47Z","pushed_at":"2016-05-05T11:15:47Z","git_url":"git://github.com/clanhr/ring-test-client.git","ssh_url":"git@github.com:clanhr/ring-test-client.git","clone_url":"https://github.com/clanhr/ring-test-client.git","svn_url":"https://github.com/clanhr/ring-test-client","homepage":"https://clojars.org/clanhr/ring-test-client","size":7,"stargazers_count":5,"watchers_count":5,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clanhr/ring-test-client/pulls/4"},"html":{"href":"https://github.com/clanhr/ring-test-client/pull/4"},"issue":{"href":"https://api.github.com/repos/clanhr/ring-test-client/issues/4"},"comments":{"href":"https://api.github.com/repos/clanhr/ring-test-client/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/clanhr/ring-test-client/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/clanhr/ring-test-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clanhr/ring-test-client/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/clanhr/ring-test-client/statuses/b8e40ca18bf83e95d179f827c88eb735b8fdb1b5"}}}}