GitHub PullRequestEvent at 2014-01-21 10:56:53
Repository: jsoncons
Actor: MarkaPola
Payload: {"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/danielaparker/jsoncons/pulls/3","id":11707974,"html_url":"https://github.com/danielaparker/jsoncons/pull/3","diff_url":"https://github.com/danielaparker/jsoncons/pull/3.diff","patch_url":"https://github.com/danielaparker/jsoncons/pull/3.patch","issue_url":"https://github.com/danielaparker/jsoncons/pull/3","number":3,"state":"open","title":"add template methods is<> and as<> to facilitate json handling as part o...","user":{"login":"MarkaPola","id":2010594,"avatar_url":"https://gravatar.com/avatar/7d1523391cee05a1891500b090899999?d=https%3A%2F%2Fidenticons.github.com%2F30f7b4f4ecae72c23031381d6bf007c0.png&r=x","gravatar_id":"7d1523391cee05a1891500b090899999","url":"https://api.github.com/users/MarkaPola","html_url":"https://github.com/MarkaPola","followers_url":"https://api.github.com/users/MarkaPola/followers","following_url":"https://api.github.com/users/MarkaPola/following{/other_user}","gists_url":"https://api.github.com/users/MarkaPola/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkaPola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkaPola/subscriptions","organizations_url":"https://api.github.com/users/MarkaPola/orgs","repos_url":"https://api.github.com/users/MarkaPola/repos","events_url":"https://api.github.com/users/MarkaPola/events{/privacy}","received_events_url":"https://api.github.com/users/MarkaPola/received_events","type":"User","site_admin":false},"body":"...f templates\r\n\r\nThis change is a proposition to extend basic_json class, as well as support ones (const_val_proxy and object_key_proxy), with two template methods enabling dynamic type handling. This extension is useful in case of usage of json as part of some other template.\r\n\r\nTo check current type of json object:\r\ntemplate<typename T>\r\nbool basic_json<Char>::is<T> ();\r\n\r\ntypes basic_json<Char>::object_type and basic_json<Char>::array_type are added to enable usage of method is<> with specific json objects.\r\n\r\nTo retrieve types value from json object:\r\ntemplate<typename T>\r\nT basic_json<Char>::as<T> ();\r\n","created_at":"2014-01-21T10:56:53Z","updated_at":"2014-01-21T10:56:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://github.com/danielaparker/jsoncons/pull/3/commits","review_comments_url":"https://github.com/danielaparker/jsoncons/pull/3/comments","review_comment_url":"/repos/danielaparker/jsoncons/pulls/comments/{number}","comments_url":"https://api.github.com/repos/danielaparker/jsoncons/issues/3/comments","statuses_url":"https://api.github.com/repos/danielaparker/jsoncons/statuses/8ba095b5aae8520abd499e109923a656d4260112","head":{"label":"MarkaPola:feature/types-management","ref":"feature/types-management","sha":"8ba095b5aae8520abd499e109923a656d4260112","user":{"login":"MarkaPola","id":2010594,"avatar_url":"https://gravatar.com/avatar/7d1523391cee05a1891500b090899999?d=https%3A%2F%2Fidenticons.github.com%2F30f7b4f4ecae72c23031381d6bf007c0.png&r=x","gravatar_id":"7d1523391cee05a1891500b090899999","url":"https://api.github.com/users/MarkaPola","html_url":"https://github.com/MarkaPola","followers_url":"https://api.github.com/users/MarkaPola/followers","following_url":"https://api.github.com/users/MarkaPola/following{/other_user}","gists_url":"https://api.github.com/users/MarkaPola/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkaPola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkaPola/subscriptions","organizations_url":"https://api.github.com/users/MarkaPola/orgs","repos_url":"https://api.github.com/users/MarkaPola/repos","events_url":"https://api.github.com/users/MarkaPola/events{/privacy}","received_events_url":"https://api.github.com/users/MarkaPola/received_events","type":"User","site_admin":false},"repo":{"id":15932393,"name":"jsoncons","full_name":"MarkaPola/jsoncons","owner":{"login":"MarkaPola","id":2010594,"avatar_url":"https://gravatar.com/avatar/7d1523391cee05a1891500b090899999?d=https%3A%2F%2Fidenticons.github.com%2F30f7b4f4ecae72c23031381d6bf007c0.png&r=x","gravatar_id":"7d1523391cee05a1891500b090899999","url":"https://api.github.com/users/MarkaPola","html_url":"https://github.com/MarkaPola","followers_url":"https://api.github.com/users/MarkaPola/followers","following_url":"https://api.github.com/users/MarkaPola/following{/other_user}","gists_url":"https://api.github.com/users/MarkaPola/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkaPola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkaPola/subscriptions","organizations_url":"https://api.github.com/users/MarkaPola/orgs","repos_url":"https://api.github.com/users/MarkaPola/repos","events_url":"https://api.github.com/users/MarkaPola/events{/privacy}","received_events_url":"https://api.github.com/users/MarkaPola/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MarkaPola/jsoncons","description":"Json reader/writer","fork":true,"url":"https://api.github.com/repos/MarkaPola/jsoncons","forks_url":"https://api.github.com/repos/MarkaPola/jsoncons/forks","keys_url":"https://api.github.com/repos/MarkaPola/jsoncons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarkaPola/jsoncons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarkaPola/jsoncons/teams","hooks_url":"https://api.github.com/repos/MarkaPola/jsoncons/hooks","issue_events_url":"https://api.github.com/repos/MarkaPola/jsoncons/issues/events{/number}","events_url":"https://api.github.com/repos/MarkaPola/jsoncons/events","assignees_url":"https://api.github.com/repos/MarkaPola/jsoncons/assignees{/user}","branches_url":"https://api.github.com/repos/MarkaPola/jsoncons/branches{/branch}","tags_url":"https://api.github.com/repos/MarkaPola/jsoncons/tags","blobs_url":"https://api.github.com/repos/MarkaPola/jsoncons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarkaPola/jsoncons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarkaPola/jsoncons/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarkaPola/jsoncons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarkaPola/jsoncons/statuses/{sha}","languages_url":"https://api.github.com/repos/MarkaPola/jsoncons/languages","stargazers_url":"https://api.github.com/repos/MarkaPola/jsoncons/stargazers","contributors_url":"https://api.github.com/repos/MarkaPola/jsoncons/contributors","subscribers_url":"https://api.github.com/repos/MarkaPola/jsoncons/subscribers","subscription_url":"https://api.github.com/repos/MarkaPola/jsoncons/subscription","commits_url":"https://api.github.com/repos/MarkaPola/jsoncons/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarkaPola/jsoncons/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarkaPola/jsoncons/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarkaPola/jsoncons/issues/comments/{number}","contents_url":"https://api.github.com/repos/MarkaPola/jsoncons/contents/{+path}","compare_url":"https://api.github.com/repos/MarkaPola/jsoncons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarkaPola/jsoncons/merges","archive_url":"https://api.github.com/repos/MarkaPola/jsoncons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarkaPola/jsoncons/downloads","issues_url":"https://api.github.com/repos/MarkaPola/jsoncons/issues{/number}","pulls_url":"https://api.github.com/repos/MarkaPola/jsoncons/pulls{/number}","milestones_url":"https://api.github.com/repos/MarkaPola/jsoncons/milestones{/number}","notifications_url":"https://api.github.com/repos/MarkaPola/jsoncons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarkaPola/jsoncons/labels{/name}","releases_url":"https://api.github.com/repos/MarkaPola/jsoncons/releases{/id}","created_at":"2014-01-15T10:47:21Z","updated_at":"2014-01-21T10:56:53Z","pushed_at":"2014-01-21T10:50:38Z","git_url":"git://github.com/MarkaPola/jsoncons.git","ssh_url":"git@github.com:MarkaPola/jsoncons.git","clone_url":"https://github.com/MarkaPola/jsoncons.git","svn_url":"https://github.com/MarkaPola/jsoncons","homepage":null,"size":19054,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","master_branch":"master"}},"base":{"label":"danielaparker:master","ref":"master","sha":"65d7a80f21e2e424a1c56a7b50bd80ecdbb62c43","user":{"login":"danielaparker","id":4381912,"avatar_url":"https://gravatar.com/avatar/1cb98965175e6c29ba4e8cd88c0da24d?d=https%3A%2F%2Fidenticons.github.com%2F6d0ff56e8e6bd3d2c493a26d7d6a3456.png&r=x","gravatar_id":"1cb98965175e6c29ba4e8cd88c0da24d","url":"https://api.github.com/users/danielaparker","html_url":"https://github.com/danielaparker","followers_url":"https://api.github.com/users/danielaparker/followers","following_url":"https://api.github.com/users/danielaparker/following{/other_user}","gists_url":"https://api.github.com/users/danielaparker/gists{/gist_id}","starred_url":"https://api.github.com/users/danielaparker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielaparker/subscriptions","organizations_url":"https://api.github.com/users/danielaparker/orgs","repos_url":"https://api.github.com/users/danielaparker/repos","events_url":"https://api.github.com/users/danielaparker/events{/privacy}","received_events_url":"https://api.github.com/users/danielaparker/received_events","type":"User","site_admin":false},"repo":{"id":9948347,"name":"jsoncons","full_name":"danielaparker/jsoncons","owner":{"login":"danielaparker","id":4381912,"avatar_url":"https://gravatar.com/avatar/1cb98965175e6c29ba4e8cd88c0da24d?d=https%3A%2F%2Fidenticons.github.com%2F6d0ff56e8e6bd3d2c493a26d7d6a3456.png&r=x","gravatar_id":"1cb98965175e6c29ba4e8cd88c0da24d","url":"https://api.github.com/users/danielaparker","html_url":"https://github.com/danielaparker","followers_url":"https://api.github.com/users/danielaparker/followers","following_url":"https://api.github.com/users/danielaparker/following{/other_user}","gists_url":"https://api.github.com/users/danielaparker/gists{/gist_id}","starred_url":"https://api.github.com/users/danielaparker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielaparker/subscriptions","organizations_url":"https://api.github.com/users/danielaparker/orgs","repos_url":"https://api.github.com/users/danielaparker/repos","events_url":"https://api.github.com/users/danielaparker/events{/privacy}","received_events_url":"https://api.github.com/users/danielaparker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danielaparker/jsoncons","description":"Json reader/writer","fork":false,"url":"https://api.github.com/repos/danielaparker/jsoncons","forks_url":"https://api.github.com/repos/danielaparker/jsoncons/forks","keys_url":"https://api.github.com/repos/danielaparker/jsoncons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danielaparker/jsoncons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danielaparker/jsoncons/teams","hooks_url":"https://api.github.com/repos/danielaparker/jsoncons/hooks","issue_events_url":"https://api.github.com/repos/danielaparker/jsoncons/issues/events{/number}","events_url":"https://api.github.com/repos/danielaparker/jsoncons/events","assignees_url":"https://api.github.com/repos/danielaparker/jsoncons/assignees{/user}","branches_url":"https://api.github.com/repos/danielaparker/jsoncons/branches{/branch}","tags_url":"https://api.github.com/repos/danielaparker/jsoncons/tags","blobs_url":"https://api.github.com/repos/danielaparker/jsoncons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danielaparker/jsoncons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danielaparker/jsoncons/git/refs{/sha}","trees_url":"https://api.github.com/repos/danielaparker/jsoncons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danielaparker/jsoncons/statuses/{sha}","languages_url":"https://api.github.com/repos/danielaparker/jsoncons/languages","stargazers_url":"https://api.github.com/repos/danielaparker/jsoncons/stargazers","contributors_url":"https://api.github.com/repos/danielaparker/jsoncons/contributors","subscribers_url":"https://api.github.com/repos/danielaparker/jsoncons/subscribers","subscription_url":"https://api.github.com/repos/danielaparker/jsoncons/subscription","commits_url":"https://api.github.com/repos/danielaparker/jsoncons/commits{/sha}","git_commits_url":"https://api.github.com/repos/danielaparker/jsoncons/git/commits{/sha}","comments_url":"https://api.github.com/repos/danielaparker/jsoncons/comments{/number}","issue_comment_url":"https://api.github.com/repos/danielaparker/jsoncons/issues/comments/{number}","contents_url":"https://api.github.com/repos/danielaparker/jsoncons/contents/{+path}","compare_url":"https://api.github.com/repos/danielaparker/jsoncons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danielaparker/jsoncons/merges","archive_url":"https://api.github.com/repos/danielaparker/jsoncons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danielaparker/jsoncons/downloads","issues_url":"https://api.github.com/repos/danielaparker/jsoncons/issues{/number}","pulls_url":"https://api.github.com/repos/danielaparker/jsoncons/pulls{/number}","milestones_url":"https://api.github.com/repos/danielaparker/jsoncons/milestones{/number}","notifications_url":"https://api.github.com/repos/danielaparker/jsoncons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danielaparker/jsoncons/labels{/name}","releases_url":"https://api.github.com/repos/danielaparker/jsoncons/releases{/id}","created_at":"2013-05-08T23:48:08Z","updated_at":"2014-01-18T06:31:59Z","pushed_at":"2014-01-18T06:31:57Z","git_url":"git://github.com/danielaparker/jsoncons.git","ssh_url":"git@github.com:danielaparker/jsoncons.git","clone_url":"https://github.com/danielaparker/jsoncons.git","svn_url":"https://github.com/danielaparker/jsoncons","homepage":null,"size":28558,"stargazers_count":3,"watchers_count":3,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":3,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/danielaparker/jsoncons/pulls/3"},"html":{"href":"https://github.com/danielaparker/jsoncons/pull/3"},"issue":{"href":"https://api.github.com/repos/danielaparker/jsoncons/issues/3"},"comments":{"href":"https://api.github.com/repos/danielaparker/jsoncons/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/danielaparker/jsoncons/pulls/3/comments"},"statuses":{"href":"https://api.github.com/repos/danielaparker/jsoncons/statuses/8ba095b5aae8520abd499e109923a656d4260112"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":279,"deletions":0,"changed_files":5}}