When I have a custom `JsonSerializer` defined via @JsonSerialize does it it 
create only 1 instance of the `JsonSerializer` or multiple?

@JsonSerialize(using = JsonapiDocument.JsonapiDocumentSerializer::class)
class JsonapiDocument

I need to introspect the class to be serialized and want to cache this 
information in the Serializer.
But to do this I want to make sure that only 1 instance of the Serializer 
is created?

In the apidocs of the `JsonSerializer` I could't find any information / 
statement regarding this.


You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jackson-user+unsubscr...@googlegroups.com.
To post to this group, send email to jackson-user@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to