-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Milestone
Description
(note: actual changes were done as part of fix for #3244 - this is for documenting side effects)
With Jackson 2.x up to 2.12 a few central processing entities are not serializable by Jackson itself: they cannot be deserialized due to state, and sometimes contain problematic things like cyclic references, resulting in various Exceptions or even errors (like StackOverflowError
) being thrown.
But while they cannot be deserialized there is no reason why they could not be serialized using a placeholder value like Empty Object ({ }
in case of JSON).
So let's do that for following types (and their subtypes)
ObjectMapper
(and format-specific subtypes)ObjectReader
ObjectWriter
DatabindContext
(subtypesSerializerProvider
,DeserializationContext
)TokenStreamFactory
(subtypesJsonFactory
etc)JsonParser
(and format-specific subtypes)JsonGenerator
(and format-specific subtypes)
Metadata
Metadata
Assignees
Labels
No labels