You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(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)
(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)The text was updated successfully, but these errors were encountered: