{"action":"created","issue":{"url":"https://api.github.com/repos/bguerout/jongo/issues/258","labels_url":"https://api.github.com/repos/bguerout/jongo/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/bguerout/jongo/issues/258/comments","events_url":"https://api.github.com/repos/bguerout/jongo/issues/258/events","html_url":"https://github.com/bguerout/jongo/issues/258","id":80904119,"number":258,"title":"Missing type info","user":{"login":"haraldrombaut","id":12564962,"avatar_url":"https://avatars.githubusercontent.com/u/12564962?v=3","gravatar_id":"","url":"https://api.github.com/users/haraldrombaut","html_url":"https://github.com/haraldrombaut","followers_url":"https://api.github.com/users/haraldrombaut/followers","following_url":"https://api.github.com/users/haraldrombaut/following{/other_user}","gists_url":"https://api.github.com/users/haraldrombaut/gists{/gist_id}","starred_url":"https://api.github.com/users/haraldrombaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haraldrombaut/subscriptions","organizations_url":"https://api.github.com/users/haraldrombaut/orgs","repos_url":"https://api.github.com/users/haraldrombaut/repos","events_url":"https://api.github.com/users/haraldrombaut/events{/privacy}","received_events_url":"https://api.github.com/users/haraldrombaut/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/bguerout/jongo/milestones/7","html_url":"https://github.com/bguerout/jongo/milestones/1.3","labels_url":"https://api.github.com/repos/bguerout/jongo/milestones/7/labels","id":1104786,"number":7,"title":"1.3","description":"","creator":{"login":"bguerout","id":221211,"avatar_url":"https://avatars.githubusercontent.com/u/221211?v=3","gravatar_id":"","url":"https://api.github.com/users/bguerout","html_url":"https://github.com/bguerout","followers_url":"https://api.github.com/users/bguerout/followers","following_url":"https://api.github.com/users/bguerout/following{/other_user}","gists_url":"https://api.github.com/users/bguerout/gists{/gist_id}","starred_url":"https://api.github.com/users/bguerout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bguerout/subscriptions","organizations_url":"https://api.github.com/users/bguerout/orgs","repos_url":"https://api.github.com/users/bguerout/repos","events_url":"https://api.github.com/users/bguerout/events{/privacy}","received_events_url":"https://api.github.com/users/bguerout/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":1,"state":"open","created_at":"2015-05-11T13:25:17Z","updated_at":"2015-06-01T12:43:58Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-05-26T10:37:22Z","updated_at":"2015-07-23T14:50:17Z","closed_at":null,"body":"https://github.com/bguerout/jongo/commit/6e7396623ad298d44c3662c2ab23b3e4092fb8d8 (and the current version on master) introduced a bug for me. Sometimes the first byte of the document is 0 which causes the parameter to be marshalled again in a wrapped object.\r\n\r\nAs a result of this, the json type info is not added anymore (annotated with @JsonTypeInfo(use = CUSTOM, property = \"type\")) and my object can no longer be unmarshalled because of the missing type info."},"comment":{"url":"https://api.github.com/repos/bguerout/jongo/issues/comments/124130217","html_url":"https://github.com/bguerout/jongo/issues/258#issuecomment-124130217","issue_url":"https://api.github.com/repos/bguerout/jongo/issues/258","id":124130217,"user":{"login":"bguerout","id":221211,"avatar_url":"https://avatars.githubusercontent.com/u/221211?v=3","gravatar_id":"","url":"https://api.github.com/users/bguerout","html_url":"https://github.com/bguerout","followers_url":"https://api.github.com/users/bguerout/followers","following_url":"https://api.github.com/users/bguerout/following{/other_user}","gists_url":"https://api.github.com/users/bguerout/gists{/gist_id}","starred_url":"https://api.github.com/users/bguerout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bguerout/subscriptions","organizations_url":"https://api.github.com/users/bguerout/orgs","repos_url":"https://api.github.com/users/bguerout/repos","events_url":"https://api.github.com/users/bguerout/events{/privacy}","received_events_url":"https://api.github.com/users/bguerout/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T14:50:17Z","updated_at":"2015-07-23T14:50:17Z","body":"Hello, sorry for the late response.\r\nI'm unable to reproduce the bug with Jongo and real Mongo database.\r\n\r\nHave you ran your test without Fongo."}}