Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JsonMapper to replace generic ObjectMapper usage #2153

Closed
cowtowncoder opened this issue Oct 9, 2018 · 0 comments
Closed

Add JsonMapper to replace generic ObjectMapper usage #2153

cowtowncoder opened this issue Oct 9, 2018 · 0 comments

Comments

@cowtowncoder
Copy link
Member

Due to problems with trying to override builder factory for ObjectMapper, and introduction of JSON-specific format features (JsonReadFeature, JsonWriteFeature), it is necessary to introduce separate JsonMapper, to be used instead of ObjectMapper.
With this (and related Smile, CBOR additions), there will now be format-specific mapper subtype for all formats. ObjectMapper will still exist, and may even be instantiated (more so with 2.10, less with 3.x), but usage should move over to specific mappers for 3.x.

sschuberth added a commit to oss-review-toolkit/ort that referenced this issue Oct 2, 2019
This is more speaking than using the generic ObjectMapper here, also see
FasterXML/jackson-databind#2153.

Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch-si.com>
sschuberth added a commit to oss-review-toolkit/ort that referenced this issue Oct 2, 2019
This is more speaking than using the generic ObjectMapper here, also see
FasterXML/jackson-databind#2153.

Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch-si.com>
sschuberth added a commit to oss-review-toolkit/ort that referenced this issue Oct 7, 2019
This is more speaking than using the generic ObjectMapper here, also see
FasterXML/jackson-databind#2153.

Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch-si.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant