{"action":"opened","issue":{"url":"https://api.github.com/repos/schmittjoh/serializer/issues/485","labels_url":"https://api.github.com/repos/schmittjoh/serializer/issues/485/labels{/name}","comments_url":"https://api.github.com/repos/schmittjoh/serializer/issues/485/comments","events_url":"https://api.github.com/repos/schmittjoh/serializer/issues/485/events","html_url":"https://github.com/schmittjoh/serializer/issues/485","id":104274436,"number":485,"title":"Best way to model this object","user":{"login":"mateusrevoredo","id":1175432,"avatar_url":"https://avatars.githubusercontent.com/u/1175432?v=3","gravatar_id":"","url":"https://api.github.com/users/mateusrevoredo","html_url":"https://github.com/mateusrevoredo","followers_url":"https://api.github.com/users/mateusrevoredo/followers","following_url":"https://api.github.com/users/mateusrevoredo/following{/other_user}","gists_url":"https://api.github.com/users/mateusrevoredo/gists{/gist_id}","starred_url":"https://api.github.com/users/mateusrevoredo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mateusrevoredo/subscriptions","organizations_url":"https://api.github.com/users/mateusrevoredo/orgs","repos_url":"https://api.github.com/users/mateusrevoredo/repos","events_url":"https://api.github.com/users/mateusrevoredo/events{/privacy}","received_events_url":"https://api.github.com/users/mateusrevoredo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-01T14:06:42Z","updated_at":"2015-09-01T14:06:42Z","closed_at":null,"body":"Hello guys, I was trying to create a PHP object with some attributes to generate a XML like the one shown below. But I can't seem to find the best way to have this ````<Input>```` tag with CDATA surrounding all the other tags.\r\n\r\n````xml\r\n<requestXml>\r\n    <![CDATA[<Input>\r\n        <Tag1>\r\n        </Tag1>\r\n        <Tag2>\r\n        </Tag2>\r\n    </Input>]]>\r\n</requestXml>\r\n````\r\n\r\nDo you guys have a recommended approach?"}}