{"action":"opened","number":741,"pull_request":{"url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/pulls/741","id":95457667,"html_url":"https://github.com/SwiftyJSON/SwiftyJSON/pull/741","diff_url":"https://github.com/SwiftyJSON/SwiftyJSON/pull/741.diff","patch_url":"https://github.com/SwiftyJSON/SwiftyJSON/pull/741.patch","issue_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/741","number":741,"state":"open","locked":false,"title":"Fix rawString output of String types","user":{"login":"SticklyMan","id":95759,"avatar_url":"https://avatars.githubusercontent.com/u/95759?v=3","gravatar_id":"","url":"https://api.github.com/users/SticklyMan","html_url":"https://github.com/SticklyMan","followers_url":"https://api.github.com/users/SticklyMan/followers","following_url":"https://api.github.com/users/SticklyMan/following{/other_user}","gists_url":"https://api.github.com/users/SticklyMan/gists{/gist_id}","starred_url":"https://api.github.com/users/SticklyMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SticklyMan/subscriptions","organizations_url":"https://api.github.com/users/SticklyMan/orgs","repos_url":"https://api.github.com/users/SticklyMan/repos","events_url":"https://api.github.com/users/SticklyMan/events{/privacy}","received_events_url":"https://api.github.com/users/SticklyMan/received_events","type":"User","site_admin":false},"body":"Raw representations of Strings in JSON should be enclosed in quotes.\r\nAs expected, numbers can be converted to string and back to JSON, but string values will return null:\r\n(lldb) po JSON.parse(JSON(3).rawString()!)\r\n▿ 3\r\n  - _type : SwiftyJSON.Type.number\r\n(lldb) po JSON.parse(JSON(\"test\").rawString()!)\r\n▿ null\r\n  - _type : SwiftyJSON.Type.null\r\n\r\nAfter fix is applied:\r\n(lldb) po JSON.parse(JSON(\"test\").rawString()!)\r\n▿ \"test\"\r\n  - _type : SwiftyJSON.Type.string","created_at":"2016-11-28T08:48:18Z","updated_at":"2016-11-28T08:48:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/pulls/741/commits","review_comments_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/pulls/741/comments","review_comment_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/741/comments","statuses_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/statuses/c2a7383a6e0f8d9fa75c2ddc1df90ee95211cde5","head":{"label":"SticklyMan:patch-1","ref":"patch-1","sha":"c2a7383a6e0f8d9fa75c2ddc1df90ee95211cde5","user":{"login":"SticklyMan","id":95759,"avatar_url":"https://avatars.githubusercontent.com/u/95759?v=3","gravatar_id":"","url":"https://api.github.com/users/SticklyMan","html_url":"https://github.com/SticklyMan","followers_url":"https://api.github.com/users/SticklyMan/followers","following_url":"https://api.github.com/users/SticklyMan/following{/other_user}","gists_url":"https://api.github.com/users/SticklyMan/gists{/gist_id}","starred_url":"https://api.github.com/users/SticklyMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SticklyMan/subscriptions","organizations_url":"https://api.github.com/users/SticklyMan/orgs","repos_url":"https://api.github.com/users/SticklyMan/repos","events_url":"https://api.github.com/users/SticklyMan/events{/privacy}","received_events_url":"https://api.github.com/users/SticklyMan/received_events","type":"User","site_admin":false},"repo":{"id":74951701,"name":"SwiftyJSON","full_name":"SticklyMan/SwiftyJSON","owner":{"login":"SticklyMan","id":95759,"avatar_url":"https://avatars.githubusercontent.com/u/95759?v=3","gravatar_id":"","url":"https://api.github.com/users/SticklyMan","html_url":"https://github.com/SticklyMan","followers_url":"https://api.github.com/users/SticklyMan/followers","following_url":"https://api.github.com/users/SticklyMan/following{/other_user}","gists_url":"https://api.github.com/users/SticklyMan/gists{/gist_id}","starred_url":"https://api.github.com/users/SticklyMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SticklyMan/subscriptions","organizations_url":"https://api.github.com/users/SticklyMan/orgs","repos_url":"https://api.github.com/users/SticklyMan/repos","events_url":"https://api.github.com/users/SticklyMan/events{/privacy}","received_events_url":"https://api.github.com/users/SticklyMan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SticklyMan/SwiftyJSON","description":"The better way to deal with JSON data in Swift","fork":true,"url":"https://api.github.com/repos/SticklyMan/SwiftyJSON","forks_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/forks","keys_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/teams","hooks_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/hooks","issue_events_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/issues/events{/number}","events_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/events","assignees_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/assignees{/user}","branches_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/branches{/branch}","tags_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/tags","blobs_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/git/refs{/sha}","trees_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/statuses/{sha}","languages_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/languages","stargazers_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/stargazers","contributors_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/contributors","subscribers_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/subscribers","subscription_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/subscription","commits_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/commits{/sha}","git_commits_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/git/commits{/sha}","comments_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/comments{/number}","issue_comment_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/issues/comments{/number}","contents_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/contents/{+path}","compare_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/merges","archive_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/downloads","issues_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/issues{/number}","pulls_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/pulls{/number}","milestones_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/milestones{/number}","notifications_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/labels{/name}","releases_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/releases{/id}","deployments_url":"https://api.github.com/repos/SticklyMan/SwiftyJSON/deployments","created_at":"2016-11-28T08:16:16Z","updated_at":"2016-11-28T08:16:18Z","pushed_at":"2016-11-28T08:47:52Z","git_url":"git://github.com/SticklyMan/SwiftyJSON.git","ssh_url":"git@github.com:SticklyMan/SwiftyJSON.git","clone_url":"https://github.com/SticklyMan/SwiftyJSON.git","svn_url":"https://github.com/SticklyMan/SwiftyJSON","homepage":"","size":1778,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"SwiftyJSON:master","ref":"master","sha":"c2024dce53377fbc04015597c5f7e9bd29249854","user":{"login":"SwiftyJSON","id":8858017,"avatar_url":"https://avatars.githubusercontent.com/u/8858017?v=3","gravatar_id":"","url":"https://api.github.com/users/SwiftyJSON","html_url":"https://github.com/SwiftyJSON","followers_url":"https://api.github.com/users/SwiftyJSON/followers","following_url":"https://api.github.com/users/SwiftyJSON/following{/other_user}","gists_url":"https://api.github.com/users/SwiftyJSON/gists{/gist_id}","starred_url":"https://api.github.com/users/SwiftyJSON/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwiftyJSON/subscriptions","organizations_url":"https://api.github.com/users/SwiftyJSON/orgs","repos_url":"https://api.github.com/users/SwiftyJSON/repos","events_url":"https://api.github.com/users/SwiftyJSON/events{/privacy}","received_events_url":"https://api.github.com/users/SwiftyJSON/received_events","type":"Organization","site_admin":false},"repo":{"id":20965586,"name":"SwiftyJSON","full_name":"SwiftyJSON/SwiftyJSON","owner":{"login":"SwiftyJSON","id":8858017,"avatar_url":"https://avatars.githubusercontent.com/u/8858017?v=3","gravatar_id":"","url":"https://api.github.com/users/SwiftyJSON","html_url":"https://github.com/SwiftyJSON","followers_url":"https://api.github.com/users/SwiftyJSON/followers","following_url":"https://api.github.com/users/SwiftyJSON/following{/other_user}","gists_url":"https://api.github.com/users/SwiftyJSON/gists{/gist_id}","starred_url":"https://api.github.com/users/SwiftyJSON/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwiftyJSON/subscriptions","organizations_url":"https://api.github.com/users/SwiftyJSON/orgs","repos_url":"https://api.github.com/users/SwiftyJSON/repos","events_url":"https://api.github.com/users/SwiftyJSON/events{/privacy}","received_events_url":"https://api.github.com/users/SwiftyJSON/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SwiftyJSON/SwiftyJSON","description":"The better way to deal with JSON data in Swift","fork":false,"url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON","forks_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/forks","keys_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/teams","hooks_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/hooks","issue_events_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/events{/number}","events_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/events","assignees_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/assignees{/user}","branches_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/branches{/branch}","tags_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/tags","blobs_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/git/refs{/sha}","trees_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/statuses/{sha}","languages_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/languages","stargazers_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/stargazers","contributors_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/contributors","subscribers_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/subscribers","subscription_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/subscription","commits_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/commits{/sha}","git_commits_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/git/commits{/sha}","comments_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/comments{/number}","issue_comment_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/comments{/number}","contents_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/contents/{+path}","compare_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/merges","archive_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/downloads","issues_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues{/number}","pulls_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/pulls{/number}","milestones_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/milestones{/number}","notifications_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/labels{/name}","releases_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/releases{/id}","deployments_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/deployments","created_at":"2014-06-18T14:41:15Z","updated_at":"2016-11-28T07:49:44Z","pushed_at":"2016-11-27T14:59:37Z","git_url":"git://github.com/SwiftyJSON/SwiftyJSON.git","ssh_url":"git@github.com:SwiftyJSON/SwiftyJSON.git","clone_url":"https://github.com/SwiftyJSON/SwiftyJSON.git","svn_url":"https://github.com/SwiftyJSON/SwiftyJSON","homepage":"","size":1778,"stargazers_count":12526,"watchers_count":12526,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2346,"mirror_url":null,"open_issues_count":43,"forks":2346,"open_issues":43,"watchers":12526,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/pulls/741"},"html":{"href":"https://github.com/SwiftyJSON/SwiftyJSON/pull/741"},"issue":{"href":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/741"},"comments":{"href":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/741/comments"},"review_comments":{"href":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/pulls/741/comments"},"review_comment":{"href":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/pulls/741/commits"},"statuses":{"href":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/statuses/c2a7383a6e0f8d9fa75c2ddc1df90ee95211cde5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"SticklyMan"}}