{"action":"created","issue":{"url":"https://api.github.com/repos/jefffhaynes/BinarySerializer/issues/10","labels_url":"https://api.github.com/repos/jefffhaynes/BinarySerializer/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/jefffhaynes/BinarySerializer/issues/10/comments","events_url":"https://api.github.com/repos/jefffhaynes/BinarySerializer/issues/10/events","html_url":"https://github.com/jefffhaynes/BinarySerializer/issues/10","id":68664425,"number":10,"title":"Deserialization requires all setter-properties to be public, making immutable classes impossible","user":{"login":"Ruslebiffen","id":10233254,"avatar_url":"https://avatars.githubusercontent.com/u/10233254?v=3","gravatar_id":"","url":"https://api.github.com/users/Ruslebiffen","html_url":"https://github.com/Ruslebiffen","followers_url":"https://api.github.com/users/Ruslebiffen/followers","following_url":"https://api.github.com/users/Ruslebiffen/following{/other_user}","gists_url":"https://api.github.com/users/Ruslebiffen/gists{/gist_id}","starred_url":"https://api.github.com/users/Ruslebiffen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ruslebiffen/subscriptions","organizations_url":"https://api.github.com/users/Ruslebiffen/orgs","repos_url":"https://api.github.com/users/Ruslebiffen/repos","events_url":"https://api.github.com/users/Ruslebiffen/events{/privacy}","received_events_url":"https://api.github.com/users/Ruslebiffen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-04-15T12:08:12Z","updated_at":"2015-04-22T14:54:40Z","closed_at":null,"body":"I just started using this library as it seemed to fit my needs to control the output to a high degree. (I was previously using the Marshal-class).\r\n\r\nHowever, all the objects that I want to serialize and deserialize are immutable, with all the properties set through the constructor. Is there any way to keep them immutable by decorating the parameters of the constructors, or some other way?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jefffhaynes/BinarySerializer/issues/comments/95220831","html_url":"https://github.com/jefffhaynes/BinarySerializer/issues/10#issuecomment-95220831","issue_url":"https://api.github.com/repos/jefffhaynes/BinarySerializer/issues/10","id":95220831,"user":{"login":"jda808","id":860690,"avatar_url":"https://avatars.githubusercontent.com/u/860690?v=3","gravatar_id":"","url":"https://api.github.com/users/jda808","html_url":"https://github.com/jda808","followers_url":"https://api.github.com/users/jda808/followers","following_url":"https://api.github.com/users/jda808/following{/other_user}","gists_url":"https://api.github.com/users/jda808/gists{/gist_id}","starred_url":"https://api.github.com/users/jda808/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jda808/subscriptions","organizations_url":"https://api.github.com/users/jda808/orgs","repos_url":"https://api.github.com/users/jda808/repos","events_url":"https://api.github.com/users/jda808/events{/privacy}","received_events_url":"https://api.github.com/users/jda808/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T14:54:40Z","updated_at":"2015-04-22T14:54:40Z","body":"If you remove the \"using\" block, does it yield different results? \r\n\r\n\r\n"}}