Tatu Saloranta
Tatu Saloranta
Fixed in 2.18 for 2.18.3
Add 2 new `JavaTimeFeature`s: for truncating Time values before serialization, after deserialization
@JooHyukKim No, there is no truncation logic in 3.x either (aside from using `@JsonFormat(pattern = ...)` for serialization which is also available on 2.x).
Yeah, as per my comment on PR, I don't think this is a good idea to add:. To bind arbitrary sub-trees, one should use types `Object` or `JsonNode` and go...
> So basically a deserialization variant of `@JsonRawValue`? Only works if the raw value is valid json of course, which is not required on the serialization side. > > I...
I would highly recommend ALWAYS using a Wrapper class when serializing "always needing type" values: for this there is no need to even use Default Typing: ``` public class Wrapper...
@cndqjacndqja While `@JsonTypeInfo` (and Default Typing) were originally meant for "simple" polymorphic types, like `Animal`, they can definitely be used for a wider set. Problem with `GenericJackson2JsonRedisSerializer` is (as far...
@cndqjacndqja That looks exactly like the way to do it (unless I am missing something)! I think you got it: good job. :)
Quick addition: same is true for `java.util.Map` as well. I am starting to think that perhaps at least `shape` should be a required part for interaction through `SerializerFactory`, `DeserializerFactory`; and...
@krichter722 No, this issue is specifically about use of `@JsonFormat(shape = ....)` either through Class annotation or property (declaration of a property for given type). Question of use of `@JsonSerialize`...
Thank you for reporting this. I would expect this to fail for 2.x too, but will mark as 3.x as per report.