{"action":"created","issue":{"url":"https://api.github.com/repos/ghillairet/emfjson/issues/62","labels_url":"https://api.github.com/repos/ghillairet/emfjson/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/ghillairet/emfjson/issues/62/comments","events_url":"https://api.github.com/repos/ghillairet/emfjson/issues/62/events","html_url":"https://github.com/ghillairet/emfjson/issues/62","id":96468523,"number":62,"title":"Attributes that not setted (with default value)","user":{"login":"lex-em","id":1404372,"avatar_url":"https://avatars.githubusercontent.com/u/1404372?v=3","gravatar_id":"","url":"https://api.github.com/users/lex-em","html_url":"https://github.com/lex-em","followers_url":"https://api.github.com/users/lex-em/followers","following_url":"https://api.github.com/users/lex-em/following{/other_user}","gists_url":"https://api.github.com/users/lex-em/gists{/gist_id}","starred_url":"https://api.github.com/users/lex-em/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lex-em/subscriptions","organizations_url":"https://api.github.com/users/lex-em/orgs","repos_url":"https://api.github.com/users/lex-em/repos","events_url":"https://api.github.com/users/lex-em/events{/privacy}","received_events_url":"https://api.github.com/users/lex-em/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-22T03:41:18Z","updated_at":"2015-07-23T09:23:44Z","closed_at":null,"body":"Hi,\r\nIs it posible to say emfjson do not serialize attributes, that not setted.\r\n\r\nIn my case I have a stereotype with attribute \"messageCasting\" (enum type) that not setted. When I serialize this eobject I get json, where attribute is present and setted default value (may be not default, but first in list):\r\n```javascript\r\n    \"messageCasting\": {\r\n      \"eClass\": \"http://www.eclipse.org/emf/2002/Ecore#//EEnumLiteral\",\r\n      \"_id\": \"_Z1gTXCR_EeW-eZ1ZLTAX7g\",\r\n      \"name\": \"UNICAST\"\r\n    }\r\n```\r\n\"name\": \"UNICAST\" - It is default value"},"comment":{"url":"https://api.github.com/repos/ghillairet/emfjson/issues/comments/124031502","html_url":"https://github.com/ghillairet/emfjson/issues/62#issuecomment-124031502","issue_url":"https://api.github.com/repos/ghillairet/emfjson/issues/62","id":124031502,"user":{"login":"lex-em","id":1404372,"avatar_url":"https://avatars.githubusercontent.com/u/1404372?v=3","gravatar_id":"","url":"https://api.github.com/users/lex-em","html_url":"https://github.com/lex-em","followers_url":"https://api.github.com/users/lex-em/followers","following_url":"https://api.github.com/users/lex-em/following{/other_user}","gists_url":"https://api.github.com/users/lex-em/gists{/gist_id}","starred_url":"https://api.github.com/users/lex-em/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lex-em/subscriptions","organizations_url":"https://api.github.com/users/lex-em/orgs","repos_url":"https://api.github.com/users/lex-em/repos","events_url":"https://api.github.com/users/lex-em/events{/privacy}","received_events_url":"https://api.github.com/users/lex-em/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T09:23:44Z","updated_at":"2015-07-23T09:23:44Z","body":"Ok, I give you a test and then do a pull request"}}