public class MapJsonGenerator
extends JsonGenerator
Title: Mongo Integration
Description: JsonGenerator implementation for map.
Copyright: Copyright (c) 2016
Company: StreamScape Technologies
Constructor and Description |
---|
MapJsonGenerator() |
MapJsonGenerator(java.util.function.Supplier mapSupplier) |
MapJsonGenerator(java.util.function.Supplier mapSupplier,
java.util.function.Supplier arraySupplier) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
JsonGenerator |
disable(Feature f) |
JsonGenerator |
enable(Feature f) |
void |
flush() |
ObjectCodec |
getCodec() |
java.lang.Object |
getDocument() |
int |
getFeatureMask() |
JsonStreamContext |
getOutputContext() |
boolean |
isClosed() |
boolean |
isEnabled(Feature f) |
JsonGenerator |
setCodec(ObjectCodec codec) |
JsonGenerator |
setFeatureMask(int values) |
JsonGenerator |
useDefaultPrettyPrinter() |
Version |
version() |
void |
writeBinary(Base64Variant bv,
byte[] data,
int offset,
int len) |
int |
writeBinary(Base64Variant bv,
java.io.InputStream data,
int dataLength) |
void |
writeBoolean(boolean state) |
void |
writeEndArray() |
void |
writeEndObject() |
void |
writeFieldName(SerializableString name) |
void |
writeFieldName(java.lang.String name) |
void |
writeNull() |
void |
writeNumber(java.math.BigDecimal dec) |
void |
writeNumber(java.math.BigInteger v) |
void |
writeNumber(double d) |
void |
writeNumber(float f) |
void |
writeNumber(int v) |
void |
writeNumber(long v) |
void |
writeNumber(java.lang.String encodedValue) |
void |
writeObject(java.lang.Object pojo) |
void |
writeRaw(char c) |
void |
writeRaw(char[] text,
int offset,
int len) |
void |
writeRaw(java.lang.String text) |
void |
writeRaw(java.lang.String text,
int offset,
int len) |
void |
writeRawUTF8String(byte[] text,
int offset,
int length) |
void |
writeRawValue(char[] text,
int offset,
int len) |
void |
writeRawValue(java.lang.String text) |
void |
writeRawValue(java.lang.String text,
int offset,
int len) |
void |
writeStartArray() |
void |
writeStartObject() |
void |
writeString(char[] text,
int offset,
int len) |
void |
writeString(SerializableString text) |
void |
writeString(java.lang.String text) |
void |
writeTree(TreeNode rootNode) |
void |
writeUTF8String(byte[] text,
int offset,
int length) |
void |
writeValue(java.lang.Object value) |
public MapJsonGenerator()
public MapJsonGenerator(java.util.function.Supplier mapSupplier)
public MapJsonGenerator(java.util.function.Supplier mapSupplier, java.util.function.Supplier arraySupplier)
public JsonGenerator setCodec(ObjectCodec codec)
public ObjectCodec getCodec()
public Version version()
public JsonGenerator enable(Feature f)
public JsonGenerator disable(Feature f)
public boolean isEnabled(Feature f)
public int getFeatureMask()
public JsonGenerator setFeatureMask(int values)
public JsonGenerator useDefaultPrettyPrinter()
public void writeStartArray() throws java.io.IOException
java.io.IOException
public void writeEndArray() throws java.io.IOException
java.io.IOException
public void writeStartObject() throws java.io.IOException
java.io.IOException
public void writeEndObject() throws java.io.IOException
java.io.IOException
public void writeFieldName(java.lang.String name) throws java.io.IOException
java.io.IOException
public void writeFieldName(SerializableString name) throws java.io.IOException
java.io.IOException
public void writeValue(java.lang.Object value) throws java.io.IOException
java.io.IOException
public void writeString(java.lang.String text) throws java.io.IOException
java.io.IOException
public void writeString(char[] text, int offset, int len) throws java.io.IOException
java.io.IOException
public void writeString(SerializableString text) throws java.io.IOException
java.io.IOException
public void writeRawUTF8String(byte[] text, int offset, int length) throws java.io.IOException
java.io.IOException
public void writeUTF8String(byte[] text, int offset, int length) throws java.io.IOException
java.io.IOException
public void writeRaw(java.lang.String text) throws java.io.IOException
java.io.IOException
public void writeRaw(java.lang.String text, int offset, int len) throws java.io.IOException
java.io.IOException
public void writeRaw(char[] text, int offset, int len) throws java.io.IOException
java.io.IOException
public void writeRaw(char c) throws java.io.IOException
java.io.IOException
public void writeRawValue(java.lang.String text) throws java.io.IOException
java.io.IOException
public void writeRawValue(java.lang.String text, int offset, int len) throws java.io.IOException
java.io.IOException
public void writeRawValue(char[] text, int offset, int len) throws java.io.IOException
java.io.IOException
public void writeBinary(Base64Variant bv, byte[] data, int offset, int len) throws java.io.IOException
java.io.IOException
public int writeBinary(Base64Variant bv, java.io.InputStream data, int dataLength) throws java.io.IOException
java.io.IOException
public void writeNumber(int v) throws java.io.IOException
java.io.IOException
public void writeNumber(long v) throws java.io.IOException
java.io.IOException
public void writeNumber(java.math.BigInteger v) throws java.io.IOException
java.io.IOException
public void writeNumber(double d) throws java.io.IOException
java.io.IOException
public void writeNumber(float f) throws java.io.IOException
java.io.IOException
public void writeNumber(java.math.BigDecimal dec) throws java.io.IOException
java.io.IOException
public void writeNumber(java.lang.String encodedValue) throws java.io.IOException
java.io.IOException
public void writeBoolean(boolean state) throws java.io.IOException
java.io.IOException
public void writeNull() throws java.io.IOException
java.io.IOException
public void writeObject(java.lang.Object pojo) throws java.io.IOException
java.io.IOException
public void writeTree(TreeNode rootNode) throws java.io.IOException
java.io.IOException
public JsonStreamContext getOutputContext()
public void flush() throws java.io.IOException
java.io.IOException
public boolean isClosed()
public void close() throws java.io.IOException
java.io.IOException
public java.lang.Object getDocument() throws java.io.IOException
java.io.IOException
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.