Hello Ken,
To make things clear, a few questions.
- Meaning of "to strip any additional properties before writing an
object". Are you looking to exclude `additionalProperties` only during
serialization, but include in deserialization?
- Is the primary intent to generate a JSON
Did you build using an IDE? What was its configured the runtime/compiler
version?
Build errors with such message mostly comes from an IDE.
If IntelliJ menu is at [ File -> Project Structure -> Project Settings ->
SDK ].
Just for a reference, I just pulled latest jackson-core:2.15 version and
This has been resolved
by https://github.com/FasterXML/jackson-core/issues/1066, in Jackson 2.16.
On Sunday, June 11, 2023 at 2:17:20 PM UTC+9 Joo Hyuk Kim (김주혁) wrote:
> FYI, made a PR https://github.com/FasterXML/jackson-core/pull/1043
>
> On Sunday, June 11, 2023 at 8:48:25 AM U
This is not a solution, but beware that starting from Jackson 2.10,
`ObjectMapper.enableDefaultTyping` has been deprecated and
`ObjectMapper.enableDefaultTyping` internally calls
`activateDefaultTyping()`.
On Wednesday, June 28, 2023 at 4:22:40 AM UTC+9 Martin Samm wrote:
> So, i have an
FYI, made a PR https://github.com/FasterXML/jackson-core/pull/1043
On Sunday, June 11, 2023 at 8:48:25 AM UTC+9 Tatu Saloranta wrote:
> On Sat, Jun 10, 2023 at 7:04 AM Joo Hyuk Kim (김주혁)
> wrote:
> >
> > I will try to implement the configuration. If that's okay?
I will try to implement the configuration. If that's okay?
On Wednesday, June 7, 2023 at 3:53:08 AM UTC+9 Tatu Saloranta wrote:
> Thank you sharing this, it makes sense (wrt newly added functionality
> in location, content source).
>
> -+ Tatu +-
>
> On Tue, Jun 6, 2023 at 6:03 AM Gili Tzabari
This definitely sounds like transitive dependency issue 沈.
What I can suggest (sadly not a solution) is do some searching around maven
how to specify dep. version, override, etc..
On Wednesday, June 7, 2023 at 4:16:48 AM UTC+9 Tatu Saloranta wrote:
> On Tue, Jun 6, 2023 at 12:04 PM Ted Yu
I am doing quite similar stuff at my current day job
Hope My suggestions can help.
1# “NO” to using a custom de/serializer.
I started using @JsonTypeInfo at work to avoid exactly that.
Having to write custom de/serializers for every DTO class.
2# Use Id.Name instead.
I suggest to