public class Jackson2JsonGeneratorAdapter extends Object implements GeneratorAdapter
| Constructor and Description |
|---|
Jackson2JsonGeneratorAdapter(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected com.fasterxml.jackson.core.JsonGenerator |
createGenerator(OutputStream outputStream) |
void |
writeEndArray() |
void |
writeEndObject() |
void |
writeFieldName(String name) |
void |
writeObject(Object instance) |
void |
writeObjectField(String name,
Object result) |
void |
writeStartArray() |
void |
writeStartObject() |
public Jackson2JsonGeneratorAdapter(OutputStream out) throws IOException
IOExceptionprotected com.fasterxml.jackson.core.JsonGenerator createGenerator(OutputStream outputStream) throws IOException
IOExceptionpublic void writeFieldName(String name) throws IOException
writeFieldName in interface GeneratorAdapterIOExceptionpublic void close()
throws IOException
close in interface GeneratorAdapterIOExceptionpublic void writeObjectField(String name, Object result) throws IOException
writeObjectField in interface GeneratorAdapterIOExceptionpublic void writeEndObject()
throws IOException
writeEndObject in interface GeneratorAdapterIOExceptionpublic void writeStartObject()
throws IOException
writeStartObject in interface GeneratorAdapterIOExceptionpublic void writeStartArray()
throws IOException
writeStartArray in interface GeneratorAdapterIOExceptionpublic void writeEndArray()
throws IOException
writeEndArray in interface GeneratorAdapterIOExceptionpublic void writeObject(Object instance) throws IOException
writeObject in interface GeneratorAdapterIOExceptionCopyright © 2014. All Rights Reserved.