Comments (2)
Ok yes; so, whereas "endpoint"s are symmetrically delegated, bound types are not: on serialization they are handled using:
provider.defaultSerializeField(...)
but deserializer simply expects to get a (JSON) String to map.
Given that BoundType
is an enum it probably should just be serialized using name()
; probably no reason to make it be configured as regular enum (which can be configured to use alternative representations).
from jackson-datatypes-collections.
Most likely RangeSerializer
is using delegation for BoundType
but really shouldn't; but then deserializer is not delegating handling. I haven't looked at code but I suspect something like this is going on: I don't think polymorphic typing should be enabled for those properties.
from jackson-datatypes-collections.
Related Issues (20)
- Accept lowerCase enums for `Range` `BoundType` serialization HOT 3
- `ArrayListMultimapDeserializer` does not support multimaps inside another object as a property HOT 13
- Update default Guava dependency for Jackson 2.15 from Guava 21.0 to 23.6.1-jre
- There maybe a misusage in GuavaMultimapDeserializer.findTransformer method HOT 1
- Update default Guava dependency for Jackson 2.16 from Guava 23.x to 25.x
- `ImmutableRangeSet` fails to deserialize without explicit deserializer HOT 2
- Support `@JsonFormat(shape=STRING)` for serialization of `Range<T>` HOT 6
- PCollections module info (`module-info.class`) incorrect HOT 4
- Some deserializers throw unexpected `NullPointerException` when handling invalid input
- Add deserialization support for bracket notation Range HOT 2
- `GuavaCollectionDeserializer` still throws NPE in some circumstances
- `Cache` deserialization fails with NPE for `null` valued entries HOT 7
- `RangeSet` deserializer fails for content `null`s with NPE
- `GuavaOptionalDeserializer.getEmptyValue()` should not call itself recursively HOT 2
- Remove Guava (test) dependency
- Cache Serialization serializes empty contents HOT 6
- `@JsonDeserialize.contentConverter` does not work for non-builtin collections HOT 7
- Eclipse Collection serialization for Pairs does not work when upgrading to EC version 11.0.0 HOT 3
- GuavaMultimapDeserializer throws JsonMappingException: Expecting START_OBJECT, found FIELD_NAME HOT 2
- Rename "com.fasterxml.jackson" -> "tools.jackson" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jackson-datatypes-collections.