You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.
When combined with EMF mongo project we do need an access to the object mapper associated with the JsonResource so that we can use the predefined ObjectMapper in MongoInputStream/MongoOutputStream instead of creating new ObjectMapper via EMFModule.setupDefaultMapper();
Possible implementation
```
public JsonResource(URI uri, ObjectMapper mapper) {
super(uri);
this.mapper = mapper;
defaultLoadOptions = new HashMap<Object, Object>();
defaultSaveOptions = new HashMap<Object, Object>();
defaultLoadOptions.put(ObjectMapper.class.getName(), mapper);
defaultSaveOptions.put(ObjectMapper.class.getName(), mapper);
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When combined with EMF mongo project we do need an access to the object mapper associated with the JsonResource so that we can use the predefined ObjectMapper in MongoInputStream/MongoOutputStream instead of creating new ObjectMapper via EMFModule.setupDefaultMapper();
Possible implementation
The text was updated successfully, but these errors were encountered: