public class JSONArraySerializer
extends com.fasterxml.jackson.databind.ser.std.StdSerializer<T>
| Modifier and Type | Field and Description |
|---|---|
static JSONArraySerializer |
instance |
| Constructor and Description |
|---|
JSONArraySerializer() |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
getSchema(com.fasterxml.jackson.databind.SerializerProvider provider,
Type typeHint) |
void |
serialize(org.json.JSONArray value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
protected void |
serializeContents(org.json.JSONArray value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
void |
serializeWithType(org.json.JSONArray value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) |
acceptJsonFormatVisitor, createObjectNode, createSchemaNode, createSchemaNode, findConvertingContentSerializer, getSchema, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrowpublic static final JSONArraySerializer instance
public void serialize(org.json.JSONArray value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider)
throws IOException,
com.fasterxml.jackson.core.JsonGenerationException
serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<org.json.JSONArray>IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void serializeWithType(org.json.JSONArray value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer)
throws IOException,
com.fasterxml.jackson.core.JsonGenerationException
serializeWithType in class com.fasterxml.jackson.databind.JsonSerializer<org.json.JSONArray>IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic com.fasterxml.jackson.databind.JsonNode getSchema(com.fasterxml.jackson.databind.SerializerProvider provider,
Type typeHint)
throws com.fasterxml.jackson.databind.JsonMappingException
getSchema in interface com.fasterxml.jackson.databind.jsonschema.SchemaAwaregetSchema in class com.fasterxml.jackson.databind.ser.std.StdSerializer<org.json.JSONArray>com.fasterxml.jackson.databind.JsonMappingExceptionprotected void serializeContents(org.json.JSONArray value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider)
throws IOException,
com.fasterxml.jackson.core.JsonGenerationException
IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionCopyright © 2012-2013 FasterXML. All Rights Reserved.