GitHub PullRequestReviewCommentEvent at 2014-06-28 16:50:42
Repository: vraptor4
Actor: garcia-jj
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/caelum/vraptor4/pulls/comments/14325081","id":14325081,"diff_hunk":"@@ -394,6 +394,37 @@\n result.use(json()).withoutRoot().from(carro).serialize(); //=> {'cor': 'azul'}\n ~~~ \n \n+\n+##Indentação do resultado JSON e XML\n+\n+Por padrão, o resultado da serialização é sem indentação, o que pode ser útil para melhorar o tempo de download do browser. Porém se você precisar exibir o resultado do JSON ou XML com indentação, você pode usar o método `indented`.\n+\n+~~~ \n+#!java\n+result.use(json()).indented().from(carro).serialize(); //=> {\\n  'carro': {\\n  'cor': 'azul'\\n  }\\n}","path":"vraptor-site/content/pt/docs/trabalhando-com-a-view.html","position":null,"original_position":11,"commit_id":"8d4d7d2f6282abeff3c40dde2380d9c4016ac4ee","original_commit_id":"defc657124a9a4d81178b57befdbba7996279f35","user":{"login":"garcia-jj","id":140387,"avatar_url":"https://avatars.githubusercontent.com/u/140387?","gravatar_id":"471af576b6918dbd3401168f7a42f098","url":"https://api.github.com/users/garcia-jj","html_url":"https://github.com/garcia-jj","followers_url":"https://api.github.com/users/garcia-jj/followers","following_url":"https://api.github.com/users/garcia-jj/following{/other_user}","gists_url":"https://api.github.com/users/garcia-jj/gists{/gist_id}","starred_url":"https://api.github.com/users/garcia-jj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garcia-jj/subscriptions","organizations_url":"https://api.github.com/users/garcia-jj/orgs","repos_url":"https://api.github.com/users/garcia-jj/repos","events_url":"https://api.github.com/users/garcia-jj/events{/privacy}","received_events_url":"https://api.github.com/users/garcia-jj/received_events","type":"User","site_admin":false},"body":"Done with  8d4d7d2","created_at":"2014-06-28T16:50:42Z","updated_at":"2014-06-28T16:50:42Z","html_url":"https://github.com/caelum/vraptor4/pull/644#discussion_r14325081","pull_request_url":"https://api.github.com/repos/caelum/vraptor4/pulls/644","_links":{"self":{"href":"https://api.github.com/repos/caelum/vraptor4/pulls/comments/14325081"},"html":{"href":"https://github.com/caelum/vraptor4/pull/644#discussion_r14325081"},"pull_request":{"href":"https://api.github.com/repos/caelum/vraptor4/pulls/644"}}},"pull_request":{"url":"https://api.github.com/repos/caelum/vraptor4/pulls/644","id":17734187,"html_url":"https://github.com/caelum/vraptor4/pull/644","diff_url":"https://github.com/caelum/vraptor4/pull/644.diff","patch_url":"https://github.com/caelum/vraptor4/pull/644.patch","issue_url":"https://api.github.com/repos/caelum/vraptor4/issues/644","number":644,"state":"open","title":"Adding docs about indented JSON/XML","user":{"login":"garcia-jj","id":140387,"avatar_url":"https://avatars.githubusercontent.com/u/140387?","gravatar_id":"471af576b6918dbd3401168f7a42f098","url":"https://api.github.com/users/garcia-jj","html_url":"https://github.com/garcia-jj","followers_url":"https://api.github.com/users/garcia-jj/followers","following_url":"https://api.github.com/users/garcia-jj/following{/other_user}","gists_url":"https://api.github.com/users/garcia-jj/gists{/gist_id}","starred_url":"https://api.github.com/users/garcia-jj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garcia-jj/subscriptions","organizations_url":"https://api.github.com/users/garcia-jj/orgs","repos_url":"https://api.github.com/users/garcia-jj/repos","events_url":"https://api.github.com/users/garcia-jj/events{/privacy}","received_events_url":"https://api.github.com/users/garcia-jj/received_events","type":"User","site_admin":false},"body":"Related to #612.\r\n\r\n* At this time there are no docs about view and ajax in english.","created_at":"2014-06-28T02:58:58Z","updated_at":"2014-06-28T16:50:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8ba0ee63d344bb49e2f68ebc9134376e420cb97f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/caelum/vraptor4/pulls/644/commits","review_comments_url":"https://api.github.com/repos/caelum/vraptor4/pulls/644/comments","review_comment_url":"https://api.github.com/repos/caelum/vraptor4/pulls/comments/{number}","comments_url":"https://api.github.com/repos/caelum/vraptor4/issues/644/comments","statuses_url":"https://api.github.com/repos/caelum/vraptor4/statuses/8d4d7d2f6282abeff3c40dde2380d9c4016ac4ee","head":{"label":"caelum:ot-indentedviewdocs","ref":"ot-indentedviewdocs","sha":"8d4d7d2f6282abeff3c40dde2380d9c4016ac4ee","user":{"login":"caelum","id":65012,"avatar_url":"https://avatars.githubusercontent.com/u/65012?","gravatar_id":"89f2c16e318c3b2068c9d37c46a83989","url":"https://api.github.com/users/caelum","html_url":"https://github.com/caelum","followers_url":"https://api.github.com/users/caelum/followers","following_url":"https://api.github.com/users/caelum/following{/other_user}","gists_url":"https://api.github.com/users/caelum/gists{/gist_id}","starred_url":"https://api.github.com/users/caelum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caelum/subscriptions","organizations_url":"https://api.github.com/users/caelum/orgs","repos_url":"https://api.github.com/users/caelum/repos","events_url":"https://api.github.com/users/caelum/events{/privacy}","received_events_url":"https://api.github.com/users/caelum/received_events","type":"Organization","site_admin":false},"repo":{"id":9821876,"name":"vraptor4","full_name":"caelum/vraptor4","owner":{"login":"caelum","id":65012,"avatar_url":"https://avatars.githubusercontent.com/u/65012?","gravatar_id":"89f2c16e318c3b2068c9d37c46a83989","url":"https://api.github.com/users/caelum","html_url":"https://github.com/caelum","followers_url":"https://api.github.com/users/caelum/followers","following_url":"https://api.github.com/users/caelum/following{/other_user}","gists_url":"https://api.github.com/users/caelum/gists{/gist_id}","starred_url":"https://api.github.com/users/caelum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caelum/subscriptions","organizations_url":"https://api.github.com/users/caelum/orgs","repos_url":"https://api.github.com/users/caelum/repos","events_url":"https://api.github.com/users/caelum/events{/privacy}","received_events_url":"https://api.github.com/users/caelum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/caelum/vraptor4","description":"A Java web MVC action-based framework","fork":false,"url":"https://api.github.com/repos/caelum/vraptor4","forks_url":"https://api.github.com/repos/caelum/vraptor4/forks","keys_url":"https://api.github.com/repos/caelum/vraptor4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caelum/vraptor4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caelum/vraptor4/teams","hooks_url":"https://api.github.com/repos/caelum/vraptor4/hooks","issue_events_url":"https://api.github.com/repos/caelum/vraptor4/issues/events{/number}","events_url":"https://api.github.com/repos/caelum/vraptor4/events","assignees_url":"https://api.github.com/repos/caelum/vraptor4/assignees{/user}","branches_url":"https://api.github.com/repos/caelum/vraptor4/branches{/branch}","tags_url":"https://api.github.com/repos/caelum/vraptor4/tags","blobs_url":"https://api.github.com/repos/caelum/vraptor4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caelum/vraptor4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caelum/vraptor4/git/refs{/sha}","trees_url":"https://api.github.com/repos/caelum/vraptor4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caelum/vraptor4/statuses/{sha}","languages_url":"https://api.github.com/repos/caelum/vraptor4/languages","stargazers_url":"https://api.github.com/repos/caelum/vraptor4/stargazers","contributors_url":"https://api.github.com/repos/caelum/vraptor4/contributors","subscribers_url":"https://api.github.com/repos/caelum/vraptor4/subscribers","subscription_url":"https://api.github.com/repos/caelum/vraptor4/subscription","commits_url":"https://api.github.com/repos/caelum/vraptor4/commits{/sha}","git_commits_url":"https://api.github.com/repos/caelum/vraptor4/git/commits{/sha}","comments_url":"https://api.github.com/repos/caelum/vraptor4/comments{/number}","issue_comment_url":"https://api.github.com/repos/caelum/vraptor4/issues/comments/{number}","contents_url":"https://api.github.com/repos/caelum/vraptor4/contents/{+path}","compare_url":"https://api.github.com/repos/caelum/vraptor4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caelum/vraptor4/merges","archive_url":"https://api.github.com/repos/caelum/vraptor4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caelum/vraptor4/downloads","issues_url":"https://api.github.com/repos/caelum/vraptor4/issues{/number}","pulls_url":"https://api.github.com/repos/caelum/vraptor4/pulls{/number}","milestones_url":"https://api.github.com/repos/caelum/vraptor4/milestones{/number}","notifications_url":"https://api.github.com/repos/caelum/vraptor4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caelum/vraptor4/labels{/name}","releases_url":"https://api.github.com/repos/caelum/vraptor4/releases{/id}","created_at":"2013-05-02T20:22:14Z","updated_at":"2014-06-25T13:45:29Z","pushed_at":"2014-06-28T16:50:16Z","git_url":"git://github.com/caelum/vraptor4.git","ssh_url":"git@github.com:caelum/vraptor4.git","clone_url":"https://github.com/caelum/vraptor4.git","svn_url":"https://github.com/caelum/vraptor4","homepage":"vraptor.org","size":27931,"stargazers_count":72,"watchers_count":72,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":52,"mirror_url":null,"open_issues_count":26,"forks":52,"open_issues":26,"watchers":72,"default_branch":"master"}},"base":{"label":"caelum:master","ref":"master","sha":"771c5b7bbf5c79d167e18fc7ab16766a869dda3a","user":{"login":"caelum","id":65012,"avatar_url":"https://avatars.githubusercontent.com/u/65012?","gravatar_id":"89f2c16e318c3b2068c9d37c46a83989","url":"https://api.github.com/users/caelum","html_url":"https://github.com/caelum","followers_url":"https://api.github.com/users/caelum/followers","following_url":"https://api.github.com/users/caelum/following{/other_user}","gists_url":"https://api.github.com/users/caelum/gists{/gist_id}","starred_url":"https://api.github.com/users/caelum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caelum/subscriptions","organizations_url":"https://api.github.com/users/caelum/orgs","repos_url":"https://api.github.com/users/caelum/repos","events_url":"https://api.github.com/users/caelum/events{/privacy}","received_events_url":"https://api.github.com/users/caelum/received_events","type":"Organization","site_admin":false},"repo":{"id":9821876,"name":"vraptor4","full_name":"caelum/vraptor4","owner":{"login":"caelum","id":65012,"avatar_url":"https://avatars.githubusercontent.com/u/65012?","gravatar_id":"89f2c16e318c3b2068c9d37c46a83989","url":"https://api.github.com/users/caelum","html_url":"https://github.com/caelum","followers_url":"https://api.github.com/users/caelum/followers","following_url":"https://api.github.com/users/caelum/following{/other_user}","gists_url":"https://api.github.com/users/caelum/gists{/gist_id}","starred_url":"https://api.github.com/users/caelum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caelum/subscriptions","organizations_url":"https://api.github.com/users/caelum/orgs","repos_url":"https://api.github.com/users/caelum/repos","events_url":"https://api.github.com/users/caelum/events{/privacy}","received_events_url":"https://api.github.com/users/caelum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/caelum/vraptor4","description":"A Java web MVC action-based framework","fork":false,"url":"https://api.github.com/repos/caelum/vraptor4","forks_url":"https://api.github.com/repos/caelum/vraptor4/forks","keys_url":"https://api.github.com/repos/caelum/vraptor4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caelum/vraptor4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caelum/vraptor4/teams","hooks_url":"https://api.github.com/repos/caelum/vraptor4/hooks","issue_events_url":"https://api.github.com/repos/caelum/vraptor4/issues/events{/number}","events_url":"https://api.github.com/repos/caelum/vraptor4/events","assignees_url":"https://api.github.com/repos/caelum/vraptor4/assignees{/user}","branches_url":"https://api.github.com/repos/caelum/vraptor4/branches{/branch}","tags_url":"https://api.github.com/repos/caelum/vraptor4/tags","blobs_url":"https://api.github.com/repos/caelum/vraptor4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caelum/vraptor4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caelum/vraptor4/git/refs{/sha}","trees_url":"https://api.github.com/repos/caelum/vraptor4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caelum/vraptor4/statuses/{sha}","languages_url":"https://api.github.com/repos/caelum/vraptor4/languages","stargazers_url":"https://api.github.com/repos/caelum/vraptor4/stargazers","contributors_url":"https://api.github.com/repos/caelum/vraptor4/contributors","subscribers_url":"https://api.github.com/repos/caelum/vraptor4/subscribers","subscription_url":"https://api.github.com/repos/caelum/vraptor4/subscription","commits_url":"https://api.github.com/repos/caelum/vraptor4/commits{/sha}","git_commits_url":"https://api.github.com/repos/caelum/vraptor4/git/commits{/sha}","comments_url":"https://api.github.com/repos/caelum/vraptor4/comments{/number}","issue_comment_url":"https://api.github.com/repos/caelum/vraptor4/issues/comments/{number}","contents_url":"https://api.github.com/repos/caelum/vraptor4/contents/{+path}","compare_url":"https://api.github.com/repos/caelum/vraptor4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caelum/vraptor4/merges","archive_url":"https://api.github.com/repos/caelum/vraptor4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caelum/vraptor4/downloads","issues_url":"https://api.github.com/repos/caelum/vraptor4/issues{/number}","pulls_url":"https://api.github.com/repos/caelum/vraptor4/pulls{/number}","milestones_url":"https://api.github.com/repos/caelum/vraptor4/milestones{/number}","notifications_url":"https://api.github.com/repos/caelum/vraptor4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caelum/vraptor4/labels{/name}","releases_url":"https://api.github.com/repos/caelum/vraptor4/releases{/id}","created_at":"2013-05-02T20:22:14Z","updated_at":"2014-06-25T13:45:29Z","pushed_at":"2014-06-28T16:50:16Z","git_url":"git://github.com/caelum/vraptor4.git","ssh_url":"git@github.com:caelum/vraptor4.git","clone_url":"https://github.com/caelum/vraptor4.git","svn_url":"https://github.com/caelum/vraptor4","homepage":"vraptor.org","size":27931,"stargazers_count":72,"watchers_count":72,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":52,"mirror_url":null,"open_issues_count":26,"forks":52,"open_issues":26,"watchers":72,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/caelum/vraptor4/pulls/644"},"html":{"href":"https://github.com/caelum/vraptor4/pull/644"},"issue":{"href":"https://api.github.com/repos/caelum/vraptor4/issues/644"},"comments":{"href":"https://api.github.com/repos/caelum/vraptor4/issues/644/comments"},"review_comments":{"href":"https://api.github.com/repos/caelum/vraptor4/pulls/644/comments"},"review_comment":{"href":"https://api.github.com/repos/caelum/vraptor4/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/caelum/vraptor4/pulls/644/commits"},"statuses":{"href":"https://api.github.com/repos/caelum/vraptor4/statuses/8d4d7d2f6282abeff3c40dde2380d9c4016ac4ee"}}}}