Uses of Class
com.fasterxml.jackson.core.JsonGenerationException

Packages that use JsonGenerationException
com.fasterxml.jackson.core Main public API classes of the core streaming JSON processor: most importantly JsonFactory used for constructing JSON parser (JsonParser) and generator (JsonParser) instances. 
com.fasterxml.jackson.core.base Base classes used by concrete Parser and Generator implementations; contain functionality that is not specific to JSON or input abstraction (byte vs char). 
com.fasterxml.jackson.core.json JSON-specific parser and generator implementation classes that Jackson defines and uses. 
com.fasterxml.jackson.core.util Utility classes used by Jackson Core functionality. 
 

Uses of JsonGenerationException in com.fasterxml.jackson.core
 

Methods in com.fasterxml.jackson.core that throw JsonGenerationException
 void PrettyPrinter.beforeArrayValues(JsonGenerator jg)
          Method called after array start marker has been output, and right before the first value is to be output.
 void PrettyPrinter.beforeObjectEntries(JsonGenerator jg)
          Method called after object start marker has been output, and right before the field name of the first entry is to be output.
 void JsonGenerator.writeArrayFieldStart(String fieldName)
          Convenience method for outputting a field entry ("member") (that will contain a JSON Array value), and the START_ARRAY marker.
 void PrettyPrinter.writeArrayValueSeparator(JsonGenerator jg)
          Method called after an array value has been completely output, and before another value is to be output.
abstract  void JsonGenerator.writeBinary(Base64Variant b64variant, byte[] data, int offset, int len)
          Method that will output given chunk of binary data as base64 encoded, as a complete String value (surrounded by double quotes).
 void JsonGenerator.writeBinary(byte[] data)
          Similar to JsonGenerator.writeBinary(Base64Variant,byte[],int,int), but assumes default to using the Jackson default Base64 variant (which is Base64Variants.MIME_NO_LINEFEEDS).
 void JsonGenerator.writeBinary(byte[] data, int offset, int len)
          Similar to JsonGenerator.writeBinary(Base64Variant,byte[],int,int), but default to using the Jackson default Base64 variant (which is Base64Variants.MIME_NO_LINEFEEDS).
 void JsonGenerator.writeBinaryField(String fieldName, byte[] data)
          Convenience method for outputting a field entry ("member") that contains specified data in base64-encoded form.
abstract  void JsonGenerator.writeBoolean(boolean state)
          Method for outputting literal Json boolean value (one of Strings 'true' and 'false').
 void JsonGenerator.writeBooleanField(String fieldName, boolean value)
          Convenience method for outputting a field entry ("member") that has a boolean value.
abstract  void JsonGenerator.writeEndArray()
          Method for writing closing marker of a JSON Array value (character ']'; plus possible white space decoration if pretty-printing is enabled).
 void PrettyPrinter.writeEndArray(JsonGenerator jg, int nrOfValues)
          Method called after an Array value has been completely output (minus closing bracket).
abstract  void JsonGenerator.writeEndObject()
          Method for writing closing marker of a JSON Object value (character '}'; plus possible white space decoration if pretty-printing is enabled).
 void PrettyPrinter.writeEndObject(JsonGenerator jg, int nrOfEntries)
          Method called after an Object value has been completely output (minus closing curly bracket).
abstract  void JsonGenerator.writeFieldName(SerializableString name)
          Method similar to JsonGenerator.writeFieldName(String), main difference being that it may perform better as some of processing (such as quoting of certain characters, or encoding into external encoding if supported by generator) can be done just once and reused for later calls.
abstract  void JsonGenerator.writeFieldName(String name)
          Method for writing a field name (JSON String surrounded by double quotes: syntactically identical to a JSON String value), possibly decorated by white space if pretty-printing is enabled.
abstract  void JsonGenerator.writeNull()
          Method for outputting literal Json null value.
 void JsonGenerator.writeNullField(String fieldName)
          Convenience method for outputting a field entry ("member") that has JSON literal value null.
abstract  void JsonGenerator.writeNumber(BigDecimal dec)
          Method for outputting indicate Json numeric value.
abstract  void JsonGenerator.writeNumber(BigInteger v)
          Method for outputting given value as Json number.
abstract  void JsonGenerator.writeNumber(double d)
          Method for outputting indicate Json numeric value.
abstract  void JsonGenerator.writeNumber(float f)
          Method for outputting indicate Json numeric value.
abstract  void JsonGenerator.writeNumber(int v)
          Method for outputting given value as Json number.
abstract  void JsonGenerator.writeNumber(long v)
          Method for outputting given value as Json number.
abstract  void JsonGenerator.writeNumber(String encodedValue)
          Write method that can be used for custom numeric types that can not be (easily?) converted to "standard" Java number types.
 void JsonGenerator.writeNumberField(String fieldName, BigDecimal value)
          Convenience method for outputting a field entry ("member") that has the specified numeric value.
 void JsonGenerator.writeNumberField(String fieldName, double value)
          Convenience method for outputting a field entry ("member") that has the specified numeric value.
 void JsonGenerator.writeNumberField(String fieldName, float value)
          Convenience method for outputting a field entry ("member") that has the specified numeric value.
 void JsonGenerator.writeNumberField(String fieldName, int value)
          Convenience method for outputting a field entry ("member") that has the specified numeric value.
 void JsonGenerator.writeNumberField(String fieldName, long value)
          Convenience method for outputting a field entry ("member") that has the specified numeric value.
 void PrettyPrinter.writeObjectEntrySeparator(JsonGenerator jg)
          Method called after an object entry (field:value) has been completely output, and before another value is to be output.
 void JsonGenerator.writeObjectFieldStart(String fieldName)
          Convenience method for outputting a field entry ("member") (that will contain a JSON Object value), and the START_OBJECT marker.
 void PrettyPrinter.writeObjectFieldValueSeparator(JsonGenerator jg)
          Method called after an object field has been output, but before the value is output.
abstract  void JsonGenerator.writeRaw(char c)
          Method that will force generator to copy input text verbatim with no modifications (including that no escaping is done and no separators are added even if context [array, object] would otherwise require such).
abstract  void JsonGenerator.writeRaw(char[] text, int offset, int len)
          Method that will force generator to copy input text verbatim with no modifications (including that no escaping is done and no separators are added even if context [array, object] would otherwise require such).
abstract  void JsonGenerator.writeRaw(String text)
          Method that will force generator to copy input text verbatim with no modifications (including that no escaping is done and no separators are added even if context [array, object] would otherwise require such).
abstract  void JsonGenerator.writeRaw(String text, int offset, int len)
          Method that will force generator to copy input text verbatim with no modifications (including that no escaping is done and no separators are added even if context [array, object] would otherwise require such).
abstract  void JsonGenerator.writeRawUTF8String(byte[] text, int offset, int length)
          Method similar to JsonGenerator.writeString(String) but that takes as its input a UTF-8 encoded String that is to be output as-is, without additional escaping (type of which depends on data format; backslashes for JSON).
abstract  void JsonGenerator.writeRawValue(char[] text, int offset, int len)
           
abstract  void JsonGenerator.writeRawValue(String text)
          Method that will force generator to copy input text verbatim without any modifications, but assuming it must constitute a single legal JSON value (number, string, boolean, null, Array or List).
abstract  void JsonGenerator.writeRawValue(String text, int offset, int len)
           
 void PrettyPrinter.writeRootValueSeparator(JsonGenerator jg)
          Method called after a root-level value has been completely output, and before another value is to be output.
abstract  void JsonGenerator.writeStartArray()
          Method for writing starting marker of a JSON Array value (character '['; plus possible white space decoration if pretty-printing is enabled).
 void PrettyPrinter.writeStartArray(JsonGenerator jg)
          Method called when an Array value is to be output, before any member/child values are output.
abstract  void JsonGenerator.writeStartObject()
          Method for writing starting marker of a JSON Object value (character '{'; plus possible white space decoration if pretty-printing is enabled).
 void PrettyPrinter.writeStartObject(JsonGenerator jg)
          Method called when an Object value is to be output, before any fields are output.
abstract  void JsonGenerator.writeString(char[] text, int offset, int len)
          Method for outputting a String value.
abstract  void JsonGenerator.writeString(SerializableString text)
          Method similar to JsonGenerator.writeString(String), but that takes SerializableString which can make this potentially more efficient to call as generator may be able to reuse quoted and/or encoded representation.
abstract  void JsonGenerator.writeString(String text)
          Method for outputting a String value.
 void JsonGenerator.writeStringField(String fieldName, String value)
          Convenience method for outputting a field entry ("member") that has a String value.
abstract  void JsonGenerator.writeUTF8String(byte[] text, int offset, int length)
          Method similar to JsonGenerator.writeString(String) but that takes as its input a UTF-8 encoded String which has not been escaped using whatever escaping scheme data format requires (for JSON that is backslash-escaping for control characters and double-quotes; for other formats something else).
 

Uses of JsonGenerationException in com.fasterxml.jackson.core.base
 

Methods in com.fasterxml.jackson.core.base that throw JsonGenerationException
protected  void GeneratorBase._reportError(String msg)
           
protected abstract  void GeneratorBase._verifyValueWrite(String typeMsg)
           
protected  void GeneratorBase._writeSimpleObject(Object value)
          Helper method to try to call appropriate write method for given untyped Object.
 void GeneratorBase.writeFieldName(SerializableString name)
           
 void GeneratorBase.writeRawValue(char[] text, int offset, int len)
           
 void GeneratorBase.writeRawValue(String text)
           
 void GeneratorBase.writeRawValue(String text, int offset, int len)
           
 void GeneratorBase.writeString(SerializableString text)
           
 

Uses of JsonGenerationException in com.fasterxml.jackson.core.json
 

Methods in com.fasterxml.jackson.core.json that throw JsonGenerationException
protected  void WriterBasedJsonGenerator._verifyPrettyValueWrite(String typeMsg, int status)
           
protected  void UTF8JsonGenerator._verifyPrettyValueWrite(String typeMsg, int status)
           
protected  void WriterBasedJsonGenerator._verifyValueWrite(String typeMsg)
           
protected  void UTF8JsonGenerator._verifyValueWrite(String typeMsg)
           
protected  void WriterBasedJsonGenerator._writeBinary(Base64Variant b64variant, byte[] input, int inputPtr, int inputEnd)
           
protected  void UTF8JsonGenerator._writeBinary(Base64Variant b64variant, byte[] input, int inputPtr, int inputEnd)
           
protected  void UTF8JsonGenerator._writeFieldName(SerializableString name)
           
 void WriterBasedJsonGenerator._writeFieldName(SerializableString name, boolean commaBefore)
           
protected  void UTF8JsonGenerator._writeFieldName(String name)
           
protected  void WriterBasedJsonGenerator._writeFieldName(String name, boolean commaBefore)
           
protected  void WriterBasedJsonGenerator._writePPFieldName(SerializableString name, boolean commaBefore)
           
protected  void UTF8JsonGenerator._writePPFieldName(SerializableString name, boolean commaBefore)
           
protected  void WriterBasedJsonGenerator._writePPFieldName(String name, boolean commaBefore)
          Specialized version of _writeFieldName, off-lined to keep the "fast path" as simple (and hopefully fast) as possible.
protected  void UTF8JsonGenerator._writePPFieldName(String name, boolean commaBefore)
          Specialized version of _writeFieldName, off-lined to keep the "fast path" as simple (and hopefully fast) as possible.
 void WriterBasedJsonGenerator.writeBinary(Base64Variant b64variant, byte[] data, int offset, int len)
           
 void UTF8JsonGenerator.writeBinary(Base64Variant b64variant, byte[] data, int offset, int len)
           
 void WriterBasedJsonGenerator.writeBoolean(boolean state)
           
 void UTF8JsonGenerator.writeBoolean(boolean state)
           
 void WriterBasedJsonGenerator.writeEndArray()
           
 void UTF8JsonGenerator.writeEndArray()
           
 void WriterBasedJsonGenerator.writeEndObject()
           
 void UTF8JsonGenerator.writeEndObject()
           
 void WriterBasedJsonGenerator.writeFieldName(SerializableString name)
           
 void UTF8JsonGenerator.writeFieldName(SerializableString name)
           
 void WriterBasedJsonGenerator.writeFieldName(String name)
           
 void UTF8JsonGenerator.writeFieldName(String name)
           
 void WriterBasedJsonGenerator.writeNull()
           
 void UTF8JsonGenerator.writeNull()
           
 void WriterBasedJsonGenerator.writeNumber(BigDecimal value)
           
 void UTF8JsonGenerator.writeNumber(BigDecimal value)
           
 void WriterBasedJsonGenerator.writeNumber(BigInteger value)
           
 void UTF8JsonGenerator.writeNumber(BigInteger value)
           
 void WriterBasedJsonGenerator.writeNumber(double d)
           
 void UTF8JsonGenerator.writeNumber(double d)
           
 void WriterBasedJsonGenerator.writeNumber(float f)
           
 void UTF8JsonGenerator.writeNumber(float f)
           
 void WriterBasedJsonGenerator.writeNumber(int i)
           
 void UTF8JsonGenerator.writeNumber(int i)
           
 void WriterBasedJsonGenerator.writeNumber(long l)
           
 void UTF8JsonGenerator.writeNumber(long l)
           
 void WriterBasedJsonGenerator.writeNumber(String encodedValue)
           
 void UTF8JsonGenerator.writeNumber(String encodedValue)
           
 void WriterBasedJsonGenerator.writeRaw(char c)
           
 void UTF8JsonGenerator.writeRaw(char ch)
           
 void WriterBasedJsonGenerator.writeRaw(char[] text, int offset, int len)
           
 void UTF8JsonGenerator.writeRaw(char[] cbuf, int offset, int len)
           
 void WriterBasedJsonGenerator.writeRaw(String text)
           
 void UTF8JsonGenerator.writeRaw(String text)
           
 void WriterBasedJsonGenerator.writeRaw(String text, int start, int len)
           
 void UTF8JsonGenerator.writeRaw(String text, int offset, int len)
           
 void WriterBasedJsonGenerator.writeRawUTF8String(byte[] text, int offset, int length)
           
 void UTF8JsonGenerator.writeRawUTF8String(byte[] text, int offset, int length)
           
 void WriterBasedJsonGenerator.writeStartArray()
           
 void UTF8JsonGenerator.writeStartArray()
           
 void WriterBasedJsonGenerator.writeStartObject()
           
 void UTF8JsonGenerator.writeStartObject()
           
 void WriterBasedJsonGenerator.writeString(char[] text, int offset, int len)
           
 void UTF8JsonGenerator.writeString(char[] text, int offset, int len)
           
 void WriterBasedJsonGenerator.writeString(SerializableString sstr)
           
 void UTF8JsonGenerator.writeString(SerializableString text)
           
 void WriterBasedJsonGenerator.writeString(String text)
           
 void UTF8JsonGenerator.writeString(String text)
           
 void WriterBasedJsonGenerator.writeStringField(String fieldName, String value)
           
 void UTF8JsonGenerator.writeStringField(String fieldName, String value)
           
 void WriterBasedJsonGenerator.writeUTF8String(byte[] text, int offset, int length)
           
 void UTF8JsonGenerator.writeUTF8String(byte[] text, int offset, int len)
           
 

Uses of JsonGenerationException in com.fasterxml.jackson.core.util
 

Methods in com.fasterxml.jackson.core.util that throw JsonGenerationException
 void MinimalPrettyPrinter.beforeArrayValues(JsonGenerator jg)
           
 void DefaultPrettyPrinter.beforeArrayValues(JsonGenerator jg)
           
 void MinimalPrettyPrinter.beforeObjectEntries(JsonGenerator jg)
           
 void DefaultPrettyPrinter.beforeObjectEntries(JsonGenerator jg)
           
 void MinimalPrettyPrinter.writeArrayValueSeparator(JsonGenerator jg)
          Method called after an array value has been completely output, and before another value is to be output.
 void DefaultPrettyPrinter.writeArrayValueSeparator(JsonGenerator jg)
          Method called after an array value has been completely output, and before another value is to be output.
 void JsonGeneratorDelegate.writeBinary(Base64Variant b64variant, byte[] data, int offset, int len)
           
 void JsonGeneratorDelegate.writeBoolean(boolean state)
           
 void JsonGeneratorDelegate.writeEndArray()
           
 void MinimalPrettyPrinter.writeEndArray(JsonGenerator jg, int nrOfValues)
           
 void DefaultPrettyPrinter.writeEndArray(JsonGenerator jg, int nrOfValues)
           
 void JsonGeneratorDelegate.writeEndObject()
           
 void MinimalPrettyPrinter.writeEndObject(JsonGenerator jg, int nrOfEntries)
           
 void DefaultPrettyPrinter.writeEndObject(JsonGenerator jg, int nrOfEntries)
           
 void JsonGeneratorDelegate.writeFieldName(SerializableString name)
           
 void JsonGeneratorDelegate.writeFieldName(String name)
           
 void DefaultPrettyPrinter.Indenter.writeIndentation(JsonGenerator jg, int level)
           
 void DefaultPrettyPrinter.FixedSpaceIndenter.writeIndentation(JsonGenerator jg, int level)
           
 void DefaultPrettyPrinter.Lf2SpacesIndenter.writeIndentation(JsonGenerator jg, int level)
           
 void JsonGeneratorDelegate.writeNull()
           
 void JsonGeneratorDelegate.writeNumber(BigDecimal v)
           
 void JsonGeneratorDelegate.writeNumber(BigInteger v)
           
 void JsonGeneratorDelegate.writeNumber(double v)
           
 void JsonGeneratorDelegate.writeNumber(float v)
           
 void JsonGeneratorDelegate.writeNumber(int v)
           
 void JsonGeneratorDelegate.writeNumber(long v)
           
 void JsonGeneratorDelegate.writeNumber(String encodedValue)
           
 void MinimalPrettyPrinter.writeObjectEntrySeparator(JsonGenerator jg)
          Method called after an object entry (field:value) has been completely output, and before another value is to be output.
 void DefaultPrettyPrinter.writeObjectEntrySeparator(JsonGenerator jg)
          Method called after an object entry (field:value) has been completely output, and before another value is to be output.
 void MinimalPrettyPrinter.writeObjectFieldValueSeparator(JsonGenerator jg)
          Method called after an object field has been output, but before the value is output.
 void DefaultPrettyPrinter.writeObjectFieldValueSeparator(JsonGenerator jg)
          Method called after an object field has been output, but before the value is output.
 void JsonGeneratorDelegate.writeRaw(char c)
           
 void JsonGeneratorDelegate.writeRaw(char[] text, int offset, int len)
           
 void JsonGeneratorDelegate.writeRaw(String text)
           
 void JsonGeneratorDelegate.writeRaw(String text, int offset, int len)
           
 void JsonGeneratorDelegate.writeRawUTF8String(byte[] text, int offset, int length)
           
 void JsonGeneratorDelegate.writeRawValue(char[] text, int offset, int len)
           
 void JsonGeneratorDelegate.writeRawValue(String text)
           
 void JsonGeneratorDelegate.writeRawValue(String text, int offset, int len)
           
 void MinimalPrettyPrinter.writeRootValueSeparator(JsonGenerator jg)
           
 void DefaultPrettyPrinter.writeRootValueSeparator(JsonGenerator jg)
           
 void JsonGeneratorDelegate.writeStartArray()
           
 void MinimalPrettyPrinter.writeStartArray(JsonGenerator jg)
           
 void DefaultPrettyPrinter.writeStartArray(JsonGenerator jg)
           
 void JsonGeneratorDelegate.writeStartObject()
           
 void MinimalPrettyPrinter.writeStartObject(JsonGenerator jg)
           
 void DefaultPrettyPrinter.writeStartObject(JsonGenerator jg)
           
 void JsonGeneratorDelegate.writeString(char[] text, int offset, int len)
           
 void JsonGeneratorDelegate.writeString(SerializableString text)
           
 void JsonGeneratorDelegate.writeString(String text)
           
 void JsonGeneratorDelegate.writeUTF8String(byte[] text, int offset, int length)
           
 



Copyright © 2012 fasterxml.com. All Rights Reserved.