{"action":"created","comment":{"url":"https://api.github.com/repos/lunatech-labs/lunabot/pulls/comments/41772856","id":41772856,"diff_hunk":"@@ -0,0 +1,33 @@\n+package com.lunatech.lunabot.utils\n+\n+import org.json4s.{DefaultFormats, Formats}\n+import org.scalatra.json._\n+/**\n+ * Created by dimitrioscharoulis on 12/10/15.\n+ */\n+class JSONParser(jsonStr: String) {","path":"src/main/scala/com/lunatech/lunabot/utils/JSONParser.scala","position":8,"original_position":8,"commit_id":"364e876992f489093c4afe97a4ce8ec6513cab25","original_commit_id":"364e876992f489093c4afe97a4ce8ec6513cab25","user":{"login":"vijaykiran","id":23506,"avatar_url":"https://avatars.githubusercontent.com/u/23506?v=3","gravatar_id":"","url":"https://api.github.com/users/vijaykiran","html_url":"https://github.com/vijaykiran","followers_url":"https://api.github.com/users/vijaykiran/followers","following_url":"https://api.github.com/users/vijaykiran/following{/other_user}","gists_url":"https://api.github.com/users/vijaykiran/gists{/gist_id}","starred_url":"https://api.github.com/users/vijaykiran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vijaykiran/subscriptions","organizations_url":"https://api.github.com/users/vijaykiran/orgs","repos_url":"https://api.github.com/users/vijaykiran/repos","events_url":"https://api.github.com/users/vijaykiran/events{/privacy}","received_events_url":"https://api.github.com/users/vijaykiran/received_events","type":"User","site_admin":false},"body":"What's the use of this class?","created_at":"2015-10-12T16:10:46Z","updated_at":"2015-10-12T16:10:46Z","html_url":"https://github.com/lunatech-labs/lunabot/pull/11#discussion_r41772856","pull_request_url":"https://api.github.com/repos/lunatech-labs/lunabot/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/lunatech-labs/lunabot/pulls/comments/41772856"},"html":{"href":"https://github.com/lunatech-labs/lunabot/pull/11#discussion_r41772856"},"pull_request":{"href":"https://api.github.com/repos/lunatech-labs/lunabot/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/lunatech-labs/lunabot/pulls/11","id":47432952,"html_url":"https://github.com/lunatech-labs/lunabot/pull/11","diff_url":"https://github.com/lunatech-labs/lunabot/pull/11.diff","patch_url":"https://github.com/lunatech-labs/lunabot/pull/11.patch","issue_url":"https://api.github.com/repos/lunatech-labs/lunabot/issues/11","number":11,"state":"open","locked":false,"title":"Fixes #7 Consume Hipchat JSON","user":{"login":"dcharoulis","id":13716022,"avatar_url":"https://avatars.githubusercontent.com/u/13716022?v=3","gravatar_id":"","url":"https://api.github.com/users/dcharoulis","html_url":"https://github.com/dcharoulis","followers_url":"https://api.github.com/users/dcharoulis/followers","following_url":"https://api.github.com/users/dcharoulis/following{/other_user}","gists_url":"https://api.github.com/users/dcharoulis/gists{/gist_id}","starred_url":"https://api.github.com/users/dcharoulis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcharoulis/subscriptions","organizations_url":"https://api.github.com/users/dcharoulis/orgs","repos_url":"https://api.github.com/users/dcharoulis/repos","events_url":"https://api.github.com/users/dcharoulis/events{/privacy}","received_events_url":"https://api.github.com/users/dcharoulis/received_events","type":"User","site_admin":false},"body":"Parse a JSON string, following the format of Hipchat","created_at":"2015-10-12T15:30:13Z","updated_at":"2015-10-12T16:10:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9c5fcbd6a872cc28572305669cd2d6c64817ebb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lunatech-labs/lunabot/pulls/11/commits","review_comments_url":"https://api.github.com/repos/lunatech-labs/lunabot/pulls/11/comments","review_comment_url":"https://api.github.com/repos/lunatech-labs/lunabot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lunatech-labs/lunabot/issues/11/comments","statuses_url":"https://api.github.com/repos/lunatech-labs/lunabot/statuses/364e876992f489093c4afe97a4ce8ec6513cab25","head":{"label":"dcharoulis:master","ref":"master","sha":"364e876992f489093c4afe97a4ce8ec6513cab25","user":{"login":"dcharoulis","id":13716022,"avatar_url":"https://avatars.githubusercontent.com/u/13716022?v=3","gravatar_id":"","url":"https://api.github.com/users/dcharoulis","html_url":"https://github.com/dcharoulis","followers_url":"https://api.github.com/users/dcharoulis/followers","following_url":"https://api.github.com/users/dcharoulis/following{/other_user}","gists_url":"https://api.github.com/users/dcharoulis/gists{/gist_id}","starred_url":"https://api.github.com/users/dcharoulis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcharoulis/subscriptions","organizations_url":"https://api.github.com/users/dcharoulis/orgs","repos_url":"https://api.github.com/users/dcharoulis/repos","events_url":"https://api.github.com/users/dcharoulis/events{/privacy}","received_events_url":"https://api.github.com/users/dcharoulis/received_events","type":"User","site_admin":false},"repo":{"id":43813045,"name":"lunabot","full_name":"dcharoulis/lunabot","owner":{"login":"dcharoulis","id":13716022,"avatar_url":"https://avatars.githubusercontent.com/u/13716022?v=3","gravatar_id":"","url":"https://api.github.com/users/dcharoulis","html_url":"https://github.com/dcharoulis","followers_url":"https://api.github.com/users/dcharoulis/followers","following_url":"https://api.github.com/users/dcharoulis/following{/other_user}","gists_url":"https://api.github.com/users/dcharoulis/gists{/gist_id}","starred_url":"https://api.github.com/users/dcharoulis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcharoulis/subscriptions","organizations_url":"https://api.github.com/users/dcharoulis/orgs","repos_url":"https://api.github.com/users/dcharoulis/repos","events_url":"https://api.github.com/users/dcharoulis/events{/privacy}","received_events_url":"https://api.github.com/users/dcharoulis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dcharoulis/lunabot","description":"Lunabot","fork":true,"url":"https://api.github.com/repos/dcharoulis/lunabot","forks_url":"https://api.github.com/repos/dcharoulis/lunabot/forks","keys_url":"https://api.github.com/repos/dcharoulis/lunabot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dcharoulis/lunabot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dcharoulis/lunabot/teams","hooks_url":"https://api.github.com/repos/dcharoulis/lunabot/hooks","issue_events_url":"https://api.github.com/repos/dcharoulis/lunabot/issues/events{/number}","events_url":"https://api.github.com/repos/dcharoulis/lunabot/events","assignees_url":"https://api.github.com/repos/dcharoulis/lunabot/assignees{/user}","branches_url":"https://api.github.com/repos/dcharoulis/lunabot/branches{/branch}","tags_url":"https://api.github.com/repos/dcharoulis/lunabot/tags","blobs_url":"https://api.github.com/repos/dcharoulis/lunabot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dcharoulis/lunabot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dcharoulis/lunabot/git/refs{/sha}","trees_url":"https://api.github.com/repos/dcharoulis/lunabot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dcharoulis/lunabot/statuses/{sha}","languages_url":"https://api.github.com/repos/dcharoulis/lunabot/languages","stargazers_url":"https://api.github.com/repos/dcharoulis/lunabot/stargazers","contributors_url":"https://api.github.com/repos/dcharoulis/lunabot/contributors","subscribers_url":"https://api.github.com/repos/dcharoulis/lunabot/subscribers","subscription_url":"https://api.github.com/repos/dcharoulis/lunabot/subscription","commits_url":"https://api.github.com/repos/dcharoulis/lunabot/commits{/sha}","git_commits_url":"https://api.github.com/repos/dcharoulis/lunabot/git/commits{/sha}","comments_url":"https://api.github.com/repos/dcharoulis/lunabot/comments{/number}","issue_comment_url":"https://api.github.com/repos/dcharoulis/lunabot/issues/comments{/number}","contents_url":"https://api.github.com/repos/dcharoulis/lunabot/contents/{+path}","compare_url":"https://api.github.com/repos/dcharoulis/lunabot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dcharoulis/lunabot/merges","archive_url":"https://api.github.com/repos/dcharoulis/lunabot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dcharoulis/lunabot/downloads","issues_url":"https://api.github.com/repos/dcharoulis/lunabot/issues{/number}","pulls_url":"https://api.github.com/repos/dcharoulis/lunabot/pulls{/number}","milestones_url":"https://api.github.com/repos/dcharoulis/lunabot/milestones{/number}","notifications_url":"https://api.github.com/repos/dcharoulis/lunabot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dcharoulis/lunabot/labels{/name}","releases_url":"https://api.github.com/repos/dcharoulis/lunabot/releases{/id}","created_at":"2015-10-07T12:05:09Z","updated_at":"2015-10-12T09:05:26Z","pushed_at":"2015-10-12T15:29:35Z","git_url":"git://github.com/dcharoulis/lunabot.git","ssh_url":"git@github.com:dcharoulis/lunabot.git","clone_url":"https://github.com/dcharoulis/lunabot.git","svn_url":"https://github.com/dcharoulis/lunabot","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"lunatech-labs:master","ref":"master","sha":"a407b9d4d04021795b8d1d8f6fa212a030a464de","user":{"login":"lunatech-labs","id":329359,"avatar_url":"https://avatars.githubusercontent.com/u/329359?v=3","gravatar_id":"","url":"https://api.github.com/users/lunatech-labs","html_url":"https://github.com/lunatech-labs","followers_url":"https://api.github.com/users/lunatech-labs/followers","following_url":"https://api.github.com/users/lunatech-labs/following{/other_user}","gists_url":"https://api.github.com/users/lunatech-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/lunatech-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunatech-labs/subscriptions","organizations_url":"https://api.github.com/users/lunatech-labs/orgs","repos_url":"https://api.github.com/users/lunatech-labs/repos","events_url":"https://api.github.com/users/lunatech-labs/events{/privacy}","received_events_url":"https://api.github.com/users/lunatech-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":43807151,"name":"lunabot","full_name":"lunatech-labs/lunabot","owner":{"login":"lunatech-labs","id":329359,"avatar_url":"https://avatars.githubusercontent.com/u/329359?v=3","gravatar_id":"","url":"https://api.github.com/users/lunatech-labs","html_url":"https://github.com/lunatech-labs","followers_url":"https://api.github.com/users/lunatech-labs/followers","following_url":"https://api.github.com/users/lunatech-labs/following{/other_user}","gists_url":"https://api.github.com/users/lunatech-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/lunatech-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunatech-labs/subscriptions","organizations_url":"https://api.github.com/users/lunatech-labs/orgs","repos_url":"https://api.github.com/users/lunatech-labs/repos","events_url":"https://api.github.com/users/lunatech-labs/events{/privacy}","received_events_url":"https://api.github.com/users/lunatech-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lunatech-labs/lunabot","description":"Lunabot","fork":false,"url":"https://api.github.com/repos/lunatech-labs/lunabot","forks_url":"https://api.github.com/repos/lunatech-labs/lunabot/forks","keys_url":"https://api.github.com/repos/lunatech-labs/lunabot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lunatech-labs/lunabot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lunatech-labs/lunabot/teams","hooks_url":"https://api.github.com/repos/lunatech-labs/lunabot/hooks","issue_events_url":"https://api.github.com/repos/lunatech-labs/lunabot/issues/events{/number}","events_url":"https://api.github.com/repos/lunatech-labs/lunabot/events","assignees_url":"https://api.github.com/repos/lunatech-labs/lunabot/assignees{/user}","branches_url":"https://api.github.com/repos/lunatech-labs/lunabot/branches{/branch}","tags_url":"https://api.github.com/repos/lunatech-labs/lunabot/tags","blobs_url":"https://api.github.com/repos/lunatech-labs/lunabot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lunatech-labs/lunabot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lunatech-labs/lunabot/git/refs{/sha}","trees_url":"https://api.github.com/repos/lunatech-labs/lunabot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lunatech-labs/lunabot/statuses/{sha}","languages_url":"https://api.github.com/repos/lunatech-labs/lunabot/languages","stargazers_url":"https://api.github.com/repos/lunatech-labs/lunabot/stargazers","contributors_url":"https://api.github.com/repos/lunatech-labs/lunabot/contributors","subscribers_url":"https://api.github.com/repos/lunatech-labs/lunabot/subscribers","subscription_url":"https://api.github.com/repos/lunatech-labs/lunabot/subscription","commits_url":"https://api.github.com/repos/lunatech-labs/lunabot/commits{/sha}","git_commits_url":"https://api.github.com/repos/lunatech-labs/lunabot/git/commits{/sha}","comments_url":"https://api.github.com/repos/lunatech-labs/lunabot/comments{/number}","issue_comment_url":"https://api.github.com/repos/lunatech-labs/lunabot/issues/comments{/number}","contents_url":"https://api.github.com/repos/lunatech-labs/lunabot/contents/{+path}","compare_url":"https://api.github.com/repos/lunatech-labs/lunabot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lunatech-labs/lunabot/merges","archive_url":"https://api.github.com/repos/lunatech-labs/lunabot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lunatech-labs/lunabot/downloads","issues_url":"https://api.github.com/repos/lunatech-labs/lunabot/issues{/number}","pulls_url":"https://api.github.com/repos/lunatech-labs/lunabot/pulls{/number}","milestones_url":"https://api.github.com/repos/lunatech-labs/lunabot/milestones{/number}","notifications_url":"https://api.github.com/repos/lunatech-labs/lunabot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lunatech-labs/lunabot/labels{/name}","releases_url":"https://api.github.com/repos/lunatech-labs/lunabot/releases{/id}","created_at":"2015-10-07T09:48:57Z","updated_at":"2015-10-09T13:09:22Z","pushed_at":"2015-10-12T15:30:13Z","git_url":"git://github.com/lunatech-labs/lunabot.git","ssh_url":"git@github.com:lunatech-labs/lunabot.git","clone_url":"https://github.com/lunatech-labs/lunabot.git","svn_url":"https://github.com/lunatech-labs/lunabot","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lunatech-labs/lunabot/pulls/11"},"html":{"href":"https://github.com/lunatech-labs/lunabot/pull/11"},"issue":{"href":"https://api.github.com/repos/lunatech-labs/lunabot/issues/11"},"comments":{"href":"https://api.github.com/repos/lunatech-labs/lunabot/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/lunatech-labs/lunabot/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/lunatech-labs/lunabot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lunatech-labs/lunabot/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/lunatech-labs/lunabot/statuses/364e876992f489093c4afe97a4ce8ec6513cab25"}}}}