{"action":"opened","number":560,"pull_request":{"url":"https://api.github.com/repos/schmittjoh/serializer/pulls/560","id":61704678,"html_url":"https://github.com/schmittjoh/serializer/pull/560","diff_url":"https://github.com/schmittjoh/serializer/pull/560.diff","patch_url":"https://github.com/schmittjoh/serializer/pull/560.patch","issue_url":"https://api.github.com/repos/schmittjoh/serializer/issues/560","number":560,"state":"open","locked":false,"title":"Fix for #559 to enable @discriminator fields to not be serialized as CDATA","user":{"login":"lordelph","id":444004,"avatar_url":"https://avatars.githubusercontent.com/u/444004?v=3","gravatar_id":"","url":"https://api.github.com/users/lordelph","html_url":"https://github.com/lordelph","followers_url":"https://api.github.com/users/lordelph/followers","following_url":"https://api.github.com/users/lordelph/following{/other_user}","gists_url":"https://api.github.com/users/lordelph/gists{/gist_id}","starred_url":"https://api.github.com/users/lordelph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordelph/subscriptions","organizations_url":"https://api.github.com/users/lordelph/orgs","repos_url":"https://api.github.com/users/lordelph/repos","events_url":"https://api.github.com/users/lordelph/events{/privacy}","received_events_url":"https://api.github.com/users/lordelph/received_events","type":"User","site_admin":false},"body":"This adds options to the @discriminator annotation, YML and XML configurations which allow the use of CDATA in the discriminator field to be disabled. By default, it is will be on to preserve existing behaviour. \r\n\r\nFeedback on this push request appreciated - in particular, this needs a unit test. How about if I add a new set of polymorphic types, e.g. Animal/Dog/Cat which *don't* use CDATA, some xml fixtures for them, and additional test methods in BaseSerializationTest?","created_at":"2016-03-04T12:17:54Z","updated_at":"2016-03-04T12:17:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/schmittjoh/serializer/pulls/560/commits","review_comments_url":"https://api.github.com/repos/schmittjoh/serializer/pulls/560/comments","review_comment_url":"https://api.github.com/repos/schmittjoh/serializer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/schmittjoh/serializer/issues/560/comments","statuses_url":"https://api.github.com/repos/schmittjoh/serializer/statuses/b98437003bd9802e12148f2339efa3a7121db663","head":{"label":"lordelph:type-cdata","ref":"type-cdata","sha":"b98437003bd9802e12148f2339efa3a7121db663","user":{"login":"lordelph","id":444004,"avatar_url":"https://avatars.githubusercontent.com/u/444004?v=3","gravatar_id":"","url":"https://api.github.com/users/lordelph","html_url":"https://github.com/lordelph","followers_url":"https://api.github.com/users/lordelph/followers","following_url":"https://api.github.com/users/lordelph/following{/other_user}","gists_url":"https://api.github.com/users/lordelph/gists{/gist_id}","starred_url":"https://api.github.com/users/lordelph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordelph/subscriptions","organizations_url":"https://api.github.com/users/lordelph/orgs","repos_url":"https://api.github.com/users/lordelph/repos","events_url":"https://api.github.com/users/lordelph/events{/privacy}","received_events_url":"https://api.github.com/users/lordelph/received_events","type":"User","site_admin":false},"repo":{"id":53128499,"name":"serializer","full_name":"lordelph/serializer","owner":{"login":"lordelph","id":444004,"avatar_url":"https://avatars.githubusercontent.com/u/444004?v=3","gravatar_id":"","url":"https://api.github.com/users/lordelph","html_url":"https://github.com/lordelph","followers_url":"https://api.github.com/users/lordelph/followers","following_url":"https://api.github.com/users/lordelph/following{/other_user}","gists_url":"https://api.github.com/users/lordelph/gists{/gist_id}","starred_url":"https://api.github.com/users/lordelph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordelph/subscriptions","organizations_url":"https://api.github.com/users/lordelph/orgs","repos_url":"https://api.github.com/users/lordelph/repos","events_url":"https://api.github.com/users/lordelph/events{/privacy}","received_events_url":"https://api.github.com/users/lordelph/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lordelph/serializer","description":"Library for (de-)serializing data of any complexity (supports XML, JSON, YAML)","fork":true,"url":"https://api.github.com/repos/lordelph/serializer","forks_url":"https://api.github.com/repos/lordelph/serializer/forks","keys_url":"https://api.github.com/repos/lordelph/serializer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lordelph/serializer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lordelph/serializer/teams","hooks_url":"https://api.github.com/repos/lordelph/serializer/hooks","issue_events_url":"https://api.github.com/repos/lordelph/serializer/issues/events{/number}","events_url":"https://api.github.com/repos/lordelph/serializer/events","assignees_url":"https://api.github.com/repos/lordelph/serializer/assignees{/user}","branches_url":"https://api.github.com/repos/lordelph/serializer/branches{/branch}","tags_url":"https://api.github.com/repos/lordelph/serializer/tags","blobs_url":"https://api.github.com/repos/lordelph/serializer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lordelph/serializer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lordelph/serializer/git/refs{/sha}","trees_url":"https://api.github.com/repos/lordelph/serializer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lordelph/serializer/statuses/{sha}","languages_url":"https://api.github.com/repos/lordelph/serializer/languages","stargazers_url":"https://api.github.com/repos/lordelph/serializer/stargazers","contributors_url":"https://api.github.com/repos/lordelph/serializer/contributors","subscribers_url":"https://api.github.com/repos/lordelph/serializer/subscribers","subscription_url":"https://api.github.com/repos/lordelph/serializer/subscription","commits_url":"https://api.github.com/repos/lordelph/serializer/commits{/sha}","git_commits_url":"https://api.github.com/repos/lordelph/serializer/git/commits{/sha}","comments_url":"https://api.github.com/repos/lordelph/serializer/comments{/number}","issue_comment_url":"https://api.github.com/repos/lordelph/serializer/issues/comments{/number}","contents_url":"https://api.github.com/repos/lordelph/serializer/contents/{+path}","compare_url":"https://api.github.com/repos/lordelph/serializer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lordelph/serializer/merges","archive_url":"https://api.github.com/repos/lordelph/serializer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lordelph/serializer/downloads","issues_url":"https://api.github.com/repos/lordelph/serializer/issues{/number}","pulls_url":"https://api.github.com/repos/lordelph/serializer/pulls{/number}","milestones_url":"https://api.github.com/repos/lordelph/serializer/milestones{/number}","notifications_url":"https://api.github.com/repos/lordelph/serializer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lordelph/serializer/labels{/name}","releases_url":"https://api.github.com/repos/lordelph/serializer/releases{/id}","deployments_url":"https://api.github.com/repos/lordelph/serializer/deployments","created_at":"2016-03-04T10:43:51Z","updated_at":"2016-03-04T10:43:52Z","pushed_at":"2016-03-04T12:10:27Z","git_url":"git://github.com/lordelph/serializer.git","ssh_url":"git@github.com:lordelph/serializer.git","clone_url":"https://github.com/lordelph/serializer.git","svn_url":"https://github.com/lordelph/serializer","homepage":"http://jmsyst.com/libs/serializer","size":1702,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"schmittjoh:master","ref":"master","sha":"fe13a1f993ea3456e195b7820692f2eb2b6bbb48","user":{"login":"schmittjoh","id":197017,"avatar_url":"https://avatars.githubusercontent.com/u/197017?v=3","gravatar_id":"","url":"https://api.github.com/users/schmittjoh","html_url":"https://github.com/schmittjoh","followers_url":"https://api.github.com/users/schmittjoh/followers","following_url":"https://api.github.com/users/schmittjoh/following{/other_user}","gists_url":"https://api.github.com/users/schmittjoh/gists{/gist_id}","starred_url":"https://api.github.com/users/schmittjoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmittjoh/subscriptions","organizations_url":"https://api.github.com/users/schmittjoh/orgs","repos_url":"https://api.github.com/users/schmittjoh/repos","events_url":"https://api.github.com/users/schmittjoh/events{/privacy}","received_events_url":"https://api.github.com/users/schmittjoh/received_events","type":"User","site_admin":false},"repo":{"id":6954048,"name":"serializer","full_name":"schmittjoh/serializer","owner":{"login":"schmittjoh","id":197017,"avatar_url":"https://avatars.githubusercontent.com/u/197017?v=3","gravatar_id":"","url":"https://api.github.com/users/schmittjoh","html_url":"https://github.com/schmittjoh","followers_url":"https://api.github.com/users/schmittjoh/followers","following_url":"https://api.github.com/users/schmittjoh/following{/other_user}","gists_url":"https://api.github.com/users/schmittjoh/gists{/gist_id}","starred_url":"https://api.github.com/users/schmittjoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmittjoh/subscriptions","organizations_url":"https://api.github.com/users/schmittjoh/orgs","repos_url":"https://api.github.com/users/schmittjoh/repos","events_url":"https://api.github.com/users/schmittjoh/events{/privacy}","received_events_url":"https://api.github.com/users/schmittjoh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/schmittjoh/serializer","description":"Library for (de-)serializing data of any complexity (supports XML, JSON, YAML)","fork":false,"url":"https://api.github.com/repos/schmittjoh/serializer","forks_url":"https://api.github.com/repos/schmittjoh/serializer/forks","keys_url":"https://api.github.com/repos/schmittjoh/serializer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/schmittjoh/serializer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/schmittjoh/serializer/teams","hooks_url":"https://api.github.com/repos/schmittjoh/serializer/hooks","issue_events_url":"https://api.github.com/repos/schmittjoh/serializer/issues/events{/number}","events_url":"https://api.github.com/repos/schmittjoh/serializer/events","assignees_url":"https://api.github.com/repos/schmittjoh/serializer/assignees{/user}","branches_url":"https://api.github.com/repos/schmittjoh/serializer/branches{/branch}","tags_url":"https://api.github.com/repos/schmittjoh/serializer/tags","blobs_url":"https://api.github.com/repos/schmittjoh/serializer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/schmittjoh/serializer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/schmittjoh/serializer/git/refs{/sha}","trees_url":"https://api.github.com/repos/schmittjoh/serializer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/schmittjoh/serializer/statuses/{sha}","languages_url":"https://api.github.com/repos/schmittjoh/serializer/languages","stargazers_url":"https://api.github.com/repos/schmittjoh/serializer/stargazers","contributors_url":"https://api.github.com/repos/schmittjoh/serializer/contributors","subscribers_url":"https://api.github.com/repos/schmittjoh/serializer/subscribers","subscription_url":"https://api.github.com/repos/schmittjoh/serializer/subscription","commits_url":"https://api.github.com/repos/schmittjoh/serializer/commits{/sha}","git_commits_url":"https://api.github.com/repos/schmittjoh/serializer/git/commits{/sha}","comments_url":"https://api.github.com/repos/schmittjoh/serializer/comments{/number}","issue_comment_url":"https://api.github.com/repos/schmittjoh/serializer/issues/comments{/number}","contents_url":"https://api.github.com/repos/schmittjoh/serializer/contents/{+path}","compare_url":"https://api.github.com/repos/schmittjoh/serializer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/schmittjoh/serializer/merges","archive_url":"https://api.github.com/repos/schmittjoh/serializer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/schmittjoh/serializer/downloads","issues_url":"https://api.github.com/repos/schmittjoh/serializer/issues{/number}","pulls_url":"https://api.github.com/repos/schmittjoh/serializer/pulls{/number}","milestones_url":"https://api.github.com/repos/schmittjoh/serializer/milestones{/number}","notifications_url":"https://api.github.com/repos/schmittjoh/serializer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/schmittjoh/serializer/labels{/name}","releases_url":"https://api.github.com/repos/schmittjoh/serializer/releases{/id}","deployments_url":"https://api.github.com/repos/schmittjoh/serializer/deployments","created_at":"2012-12-01T12:46:39Z","updated_at":"2016-03-04T00:53:26Z","pushed_at":"2016-03-02T14:25:05Z","git_url":"git://github.com/schmittjoh/serializer.git","ssh_url":"git@github.com:schmittjoh/serializer.git","clone_url":"https://github.com/schmittjoh/serializer.git","svn_url":"https://github.com/schmittjoh/serializer","homepage":"http://jmsyst.com/libs/serializer","size":4466,"stargazers_count":441,"watchers_count":441,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":364,"mirror_url":null,"open_issues_count":319,"forks":364,"open_issues":319,"watchers":441,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/schmittjoh/serializer/pulls/560"},"html":{"href":"https://github.com/schmittjoh/serializer/pull/560"},"issue":{"href":"https://api.github.com/repos/schmittjoh/serializer/issues/560"},"comments":{"href":"https://api.github.com/repos/schmittjoh/serializer/issues/560/comments"},"review_comments":{"href":"https://api.github.com/repos/schmittjoh/serializer/pulls/560/comments"},"review_comment":{"href":"https://api.github.com/repos/schmittjoh/serializer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/schmittjoh/serializer/pulls/560/commits"},"statuses":{"href":"https://api.github.com/repos/schmittjoh/serializer/statuses/b98437003bd9802e12148f2339efa3a7121db663"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":31,"deletions":5,"changed_files":8}}