Package org.keycloak.json
Class StringOrArraySerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<Object>
-
- org.keycloak.json.StringOrArraySerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
public class StringOrArraySerializer extends com.fasterxml.jackson.databind.JsonSerializer<Object>
-
-
Constructor Summary
Constructors Constructor Description StringOrArraySerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(Object o, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider)
-
-
-
Method Detail
-
serialize
public void serialize(Object o, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider) throws IOException
- Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<Object>
- Throws:
IOException
-
-