{"action":"created","issue":{"url":"https://api.github.com/repos/emfjson/emfjson-jackson/issues/74","labels_url":"https://api.github.com/repos/emfjson/emfjson-jackson/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/emfjson/emfjson-jackson/issues/74/comments","events_url":"https://api.github.com/repos/emfjson/emfjson-jackson/issues/74/events","html_url":"https://github.com/emfjson/emfjson-jackson/issues/74","id":121266081,"number":74,"title":"When a map is used JSON serialization is wrong","user":{"login":"tarelli","id":81127,"avatar_url":"https://avatars.githubusercontent.com/u/81127?v=3","gravatar_id":"","url":"https://api.github.com/users/tarelli","html_url":"https://github.com/tarelli","followers_url":"https://api.github.com/users/tarelli/followers","following_url":"https://api.github.com/users/tarelli/following{/other_user}","gists_url":"https://api.github.com/users/tarelli/gists{/gist_id}","starred_url":"https://api.github.com/users/tarelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarelli/subscriptions","organizations_url":"https://api.github.com/users/tarelli/orgs","repos_url":"https://api.github.com/users/tarelli/repos","events_url":"https://api.github.com/users/tarelli/events{/privacy}","received_events_url":"https://api.github.com/users/tarelli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/emfjson/emfjson-jackson/labels/bug","name":"bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/emfjson/emfjson-jackson/milestones/14","html_url":"https://github.com/emfjson/emfjson-jackson/milestones/0.14","labels_url":"https://api.github.com/repos/emfjson/emfjson-jackson/milestones/14/labels","id":1452423,"number":14,"title":"0.14","description":"","creator":{"login":"ghillairet","id":148045,"avatar_url":"https://avatars.githubusercontent.com/u/148045?v=3","gravatar_id":"","url":"https://api.github.com/users/ghillairet","html_url":"https://github.com/ghillairet","followers_url":"https://api.github.com/users/ghillairet/followers","following_url":"https://api.github.com/users/ghillairet/following{/other_user}","gists_url":"https://api.github.com/users/ghillairet/gists{/gist_id}","starred_url":"https://api.github.com/users/ghillairet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghillairet/subscriptions","organizations_url":"https://api.github.com/users/ghillairet/orgs","repos_url":"https://api.github.com/users/ghillairet/repos","events_url":"https://api.github.com/users/ghillairet/events{/privacy}","received_events_url":"https://api.github.com/users/ghillairet/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"closed","created_at":"2015-12-09T17:53:54Z","updated_at":"2015-12-30T11:18:47Z","due_on":null,"closed_at":"2015-12-30T11:16:58Z"},"comments":7,"created_at":"2015-12-09T15:09:47Z","updated_at":"2015-12-30T11:18:47Z","closed_at":"2015-12-30T11:18:47Z","body":"We have an ecore with one reference named \"initialValue\" that is a map, here is a screenshot of the ecore:\r\n![screen shot 2015-12-09 at 15 07 52](https://cloud.githubusercontent.com/assets/81127/11688810/a599d1e2-9e86-11e5-8aca-72650d4cf1f9.png)\r\n\r\nWhen such reference is serialized the following JSON is produced:\r\n\r\n```\r\n\t\t\t\t\"id\": \"g\",\r\n\t\t\t\t\"name\": \"g\",\r\n\t\t\t\t\"types\": [{\r\n\t\t\t\t\t\"$ref\": \"//@libraries.1/@types.2\"\r\n\t\t\t\t}],\r\n\t\t\t\t\"initialValues\": {: {\r\n```\r\nThe problem is the double :{ :{ the second colon is unexpected.\r\nUncaught SyntaxError: Unexpected token :\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/emfjson/emfjson-jackson/issues/comments/167980918","html_url":"https://github.com/emfjson/emfjson-jackson/issues/74#issuecomment-167980918","issue_url":"https://api.github.com/repos/emfjson/emfjson-jackson/issues/74","id":167980918,"user":{"login":"ghillairet","id":148045,"avatar_url":"https://avatars.githubusercontent.com/u/148045?v=3","gravatar_id":"","url":"https://api.github.com/users/ghillairet","html_url":"https://github.com/ghillairet","followers_url":"https://api.github.com/users/ghillairet/followers","following_url":"https://api.github.com/users/ghillairet/following{/other_user}","gists_url":"https://api.github.com/users/ghillairet/gists{/gist_id}","starred_url":"https://api.github.com/users/ghillairet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghillairet/subscriptions","organizations_url":"https://api.github.com/users/ghillairet/orgs","repos_url":"https://api.github.com/users/ghillairet/repos","events_url":"https://api.github.com/users/ghillairet/events{/privacy}","received_events_url":"https://api.github.com/users/ghillairet/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T11:18:47Z","updated_at":"2015-12-30T11:18:47Z","body":"0.14 has been released (https://github.com/emfjson/emfjson-jackson/releases/tag/0.14.0) and includes fix for this issue."}}