{"action":"created","comment":{"url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/pulls/comments/75137043","id":75137043,"diff_hunk":"@@ -173,8 +173,34 @@ module.exports = {\n     return data;\n   },\n \n+\n+  /*\n+   * Call toJSON recursivly for all objects in data\n+   *\n+   * @param {Object|array} input data","path":"lib/api/services/JsonApiService.js","position":8,"original_position":8,"commit_id":"9d51c491980c1c29f7bdfb108ed0cbdfe1f411fd","original_commit_id":"9d51c491980c1c29f7bdfb108ed0cbdfe1f411fd","user":{"login":"dynamiccast","id":10377736,"avatar_url":"https://avatars.githubusercontent.com/u/10377736?v=3","gravatar_id":"","url":"https://api.github.com/users/dynamiccast","html_url":"https://github.com/dynamiccast","followers_url":"https://api.github.com/users/dynamiccast/followers","following_url":"https://api.github.com/users/dynamiccast/following{/other_user}","gists_url":"https://api.github.com/users/dynamiccast/gists{/gist_id}","starred_url":"https://api.github.com/users/dynamiccast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dynamiccast/subscriptions","organizations_url":"https://api.github.com/users/dynamiccast/orgs","repos_url":"https://api.github.com/users/dynamiccast/repos","events_url":"https://api.github.com/users/dynamiccast/events{/privacy}","received_events_url":"https://api.github.com/users/dynamiccast/received_events","type":"User","site_admin":false},"body":"@return needs to be documented","created_at":"2016-08-17T14:45:01Z","updated_at":"2016-08-17T14:45:01Z","html_url":"https://github.com/dynamiccast/sails-json-api-blueprints/pull/33#discussion_r75137043","pull_request_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/pulls/comments/75137043"},"html":{"href":"https://github.com/dynamiccast/sails-json-api-blueprints/pull/33#discussion_r75137043"},"pull_request":{"href":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/pulls/33","id":81655558,"html_url":"https://github.com/dynamiccast/sails-json-api-blueprints/pull/33","diff_url":"https://github.com/dynamiccast/sails-json-api-blueprints/pull/33.diff","patch_url":"https://github.com/dynamiccast/sails-json-api-blueprints/pull/33.patch","issue_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/issues/33","number":33,"state":"open","locked":false,"title":"Add toJSON support.","user":{"login":"Leblantoine","id":10654878,"avatar_url":"https://avatars.githubusercontent.com/u/10654878?v=3","gravatar_id":"","url":"https://api.github.com/users/Leblantoine","html_url":"https://github.com/Leblantoine","followers_url":"https://api.github.com/users/Leblantoine/followers","following_url":"https://api.github.com/users/Leblantoine/following{/other_user}","gists_url":"https://api.github.com/users/Leblantoine/gists{/gist_id}","starred_url":"https://api.github.com/users/Leblantoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leblantoine/subscriptions","organizations_url":"https://api.github.com/users/Leblantoine/orgs","repos_url":"https://api.github.com/users/Leblantoine/repos","events_url":"https://api.github.com/users/Leblantoine/events{/privacy}","received_events_url":"https://api.github.com/users/Leblantoine/received_events","type":"User","site_admin":false},"body":"Add the support of the sails toJSON function when serialize is called.","created_at":"2016-08-17T14:42:43Z","updated_at":"2016-08-17T14:45:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"939e9fcec205fd3b58814f27a38ece5b753e95c9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/pulls/33/commits","review_comments_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/pulls/33/comments","review_comment_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/issues/33/comments","statuses_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/statuses/9d51c491980c1c29f7bdfb108ed0cbdfe1f411fd","head":{"label":"Leblantoine:toJSON","ref":"toJSON","sha":"9d51c491980c1c29f7bdfb108ed0cbdfe1f411fd","user":{"login":"Leblantoine","id":10654878,"avatar_url":"https://avatars.githubusercontent.com/u/10654878?v=3","gravatar_id":"","url":"https://api.github.com/users/Leblantoine","html_url":"https://github.com/Leblantoine","followers_url":"https://api.github.com/users/Leblantoine/followers","following_url":"https://api.github.com/users/Leblantoine/following{/other_user}","gists_url":"https://api.github.com/users/Leblantoine/gists{/gist_id}","starred_url":"https://api.github.com/users/Leblantoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leblantoine/subscriptions","organizations_url":"https://api.github.com/users/Leblantoine/orgs","repos_url":"https://api.github.com/users/Leblantoine/repos","events_url":"https://api.github.com/users/Leblantoine/events{/privacy}","received_events_url":"https://api.github.com/users/Leblantoine/received_events","type":"User","site_admin":false},"repo":{"id":65908133,"name":"sails-json-api-blueprints","full_name":"Leblantoine/sails-json-api-blueprints","owner":{"login":"Leblantoine","id":10654878,"avatar_url":"https://avatars.githubusercontent.com/u/10654878?v=3","gravatar_id":"","url":"https://api.github.com/users/Leblantoine","html_url":"https://github.com/Leblantoine","followers_url":"https://api.github.com/users/Leblantoine/followers","following_url":"https://api.github.com/users/Leblantoine/following{/other_user}","gists_url":"https://api.github.com/users/Leblantoine/gists{/gist_id}","starred_url":"https://api.github.com/users/Leblantoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leblantoine/subscriptions","organizations_url":"https://api.github.com/users/Leblantoine/orgs","repos_url":"https://api.github.com/users/Leblantoine/repos","events_url":"https://api.github.com/users/Leblantoine/events{/privacy}","received_events_url":"https://api.github.com/users/Leblantoine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Leblantoine/sails-json-api-blueprints","description":"Blueprints to turn a Sails.js API into a JSON API","fork":true,"url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints","forks_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/forks","keys_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/teams","hooks_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/hooks","issue_events_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/issues/events{/number}","events_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/events","assignees_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/assignees{/user}","branches_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/branches{/branch}","tags_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/tags","blobs_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/git/refs{/sha}","trees_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/statuses/{sha}","languages_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/languages","stargazers_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/stargazers","contributors_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/contributors","subscribers_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/subscribers","subscription_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/subscription","commits_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/commits{/sha}","git_commits_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/git/commits{/sha}","comments_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/comments{/number}","issue_comment_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/issues/comments{/number}","contents_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/contents/{+path}","compare_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/merges","archive_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/downloads","issues_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/issues{/number}","pulls_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/pulls{/number}","milestones_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/milestones{/number}","notifications_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/labels{/name}","releases_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/releases{/id}","deployments_url":"https://api.github.com/repos/Leblantoine/sails-json-api-blueprints/deployments","created_at":"2016-08-17T13:04:22Z","updated_at":"2016-08-17T13:04:24Z","pushed_at":"2016-08-17T14:38:24Z","git_url":"git://github.com/Leblantoine/sails-json-api-blueprints.git","ssh_url":"git@github.com:Leblantoine/sails-json-api-blueprints.git","clone_url":"https://github.com/Leblantoine/sails-json-api-blueprints.git","svn_url":"https://github.com/Leblantoine/sails-json-api-blueprints","homepage":null,"size":179,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":0,"default_branch":"master"}},"base":{"label":"dynamiccast:master","ref":"master","sha":"f7e1b421c236ee70d5fcd757586e64e476260a0f","user":{"login":"dynamiccast","id":10377736,"avatar_url":"https://avatars.githubusercontent.com/u/10377736?v=3","gravatar_id":"","url":"https://api.github.com/users/dynamiccast","html_url":"https://github.com/dynamiccast","followers_url":"https://api.github.com/users/dynamiccast/followers","following_url":"https://api.github.com/users/dynamiccast/following{/other_user}","gists_url":"https://api.github.com/users/dynamiccast/gists{/gist_id}","starred_url":"https://api.github.com/users/dynamiccast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dynamiccast/subscriptions","organizations_url":"https://api.github.com/users/dynamiccast/orgs","repos_url":"https://api.github.com/users/dynamiccast/repos","events_url":"https://api.github.com/users/dynamiccast/events{/privacy}","received_events_url":"https://api.github.com/users/dynamiccast/received_events","type":"User","site_admin":false},"repo":{"id":61320887,"name":"sails-json-api-blueprints","full_name":"dynamiccast/sails-json-api-blueprints","owner":{"login":"dynamiccast","id":10377736,"avatar_url":"https://avatars.githubusercontent.com/u/10377736?v=3","gravatar_id":"","url":"https://api.github.com/users/dynamiccast","html_url":"https://github.com/dynamiccast","followers_url":"https://api.github.com/users/dynamiccast/followers","following_url":"https://api.github.com/users/dynamiccast/following{/other_user}","gists_url":"https://api.github.com/users/dynamiccast/gists{/gist_id}","starred_url":"https://api.github.com/users/dynamiccast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dynamiccast/subscriptions","organizations_url":"https://api.github.com/users/dynamiccast/orgs","repos_url":"https://api.github.com/users/dynamiccast/repos","events_url":"https://api.github.com/users/dynamiccast/events{/privacy}","received_events_url":"https://api.github.com/users/dynamiccast/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dynamiccast/sails-json-api-blueprints","description":"Blueprints to turn a Sails.js API into a JSON API","fork":false,"url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints","forks_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/forks","keys_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/teams","hooks_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/hooks","issue_events_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/issues/events{/number}","events_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/events","assignees_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/assignees{/user}","branches_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/branches{/branch}","tags_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/tags","blobs_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/git/refs{/sha}","trees_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/statuses/{sha}","languages_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/languages","stargazers_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/stargazers","contributors_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/contributors","subscribers_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/subscribers","subscription_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/subscription","commits_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/commits{/sha}","git_commits_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/git/commits{/sha}","comments_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/comments{/number}","issue_comment_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/issues/comments{/number}","contents_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/contents/{+path}","compare_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/merges","archive_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/downloads","issues_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/issues{/number}","pulls_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/pulls{/number}","milestones_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/milestones{/number}","notifications_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/labels{/name}","releases_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/releases{/id}","deployments_url":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/deployments","created_at":"2016-06-16T19:39:54Z","updated_at":"2016-08-15T19:25:16Z","pushed_at":"2016-08-17T14:42:43Z","git_url":"git://github.com/dynamiccast/sails-json-api-blueprints.git","ssh_url":"git@github.com:dynamiccast/sails-json-api-blueprints.git","clone_url":"https://github.com/dynamiccast/sails-json-api-blueprints.git","svn_url":"https://github.com/dynamiccast/sails-json-api-blueprints","homepage":null,"size":179,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/pulls/33"},"html":{"href":"https://github.com/dynamiccast/sails-json-api-blueprints/pull/33"},"issue":{"href":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/issues/33"},"comments":{"href":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/dynamiccast/sails-json-api-blueprints/statuses/9d51c491980c1c29f7bdfb108ed0cbdfe1f411fd"}}}}
{"actor":{"display_login":"dynamiccast"}}