Uses of Class
org.codehaus.jackson.JsonGenerationException

Packages that use JsonGenerationException
org.codehaus.jackson Main public API classes of the core streaming JSON processor: most importantly JsonFactory used for constructing JSON parser (JsonParser) and generator (JsonParser) instances. 
org.codehaus.jackson.impl Parser and generator implementation classes that Jackson defines and uses. 
org.codehaus.jackson.map Contains basic mapper (conversion) functionality that allows for converting between regular streaming json content and Java objects (beans or Tree Model: support for both is via ObjectMapper class, as well as convenience methods included in JsonParser 
org.codehaus.jackson.map.ext Contains extended support for "external" packages: things that may or may not be present in runtime environment, but that are commonly enough used so that explicit support can be added. 
org.codehaus.jackson.map.ser Contains implementation classes of serialization part of data binding. 
org.codehaus.jackson.map.ser.impl Contains implementation classes of serialization part of data binding. 
org.codehaus.jackson.map.ser.std   
org.codehaus.jackson.smile Package that contains experimental implementation of "Binary-Encoded JSON-Like" data format handlers (parser, generator, factory produce both, supporting constants). 
org.codehaus.jackson.util Utility classes used by Jackson Core functionality. 
org.codehaus.jackson.xc Package that contains XML Compatibility functionality for Jackson, such as handlers for JAXB annotations 
 

Uses of JsonGenerationException in org.codehaus.jackson
 

Methods in org.codehaus.jackson 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).
 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.
 void JsonGenerator.writeFieldName(SerializedString 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.
 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 org.codehaus.jackson.impl
 

Methods in org.codehaus.jackson.impl that throw JsonGenerationException
protected  void JsonGeneratorBase._reportError(String msg)
           
protected  void WriterBasedGenerator._verifyPrettyValueWrite(String typeMsg, int status)
           
protected  void Utf8Generator._verifyPrettyValueWrite(String typeMsg, int status)
           
protected  void WriterBasedGenerator._verifyValueWrite(String typeMsg)
           
protected  void Utf8Generator._verifyValueWrite(String typeMsg)
           
protected abstract  void JsonGeneratorBase._verifyValueWrite(String typeMsg)
           
protected  void WriterBasedGenerator._writeBinary(Base64Variant b64variant, byte[] input, int inputPtr, int inputEnd)
           
protected  void Utf8Generator._writeBinary(Base64Variant b64variant, byte[] input, int inputPtr, int inputEnd)
           
protected  void JsonGeneratorBase._writeEndArray()
          Deprecated. since 1.7, should just override JsonGeneratorBase.writeEndArray() instead of defining this method
protected  void JsonGeneratorBase._writeEndObject()
          Deprecated. since 1.7, should just override JsonGeneratorBase.writeEndObject() instead of defining this method
protected  void Utf8Generator._writeFieldName(SerializableString name)
           
 void WriterBasedGenerator._writeFieldName(SerializableString name, boolean commaBefore)
           
protected  void Utf8Generator._writeFieldName(String name)
           
protected  void WriterBasedGenerator._writeFieldName(String name, boolean commaBefore)
           
protected  void WriterBasedGenerator._writePPFieldName(SerializableString name, boolean commaBefore)
           
protected  void Utf8Generator._writePPFieldName(SerializableString name, boolean commaBefore)
           
protected  void WriterBasedGenerator._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 Utf8Generator._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 JsonGeneratorBase._writeSimpleObject(Object value)
          Helper method to try to call appropriate write method for given untyped Object.
protected  void JsonGeneratorBase._writeStartArray()
          Deprecated. since 1.7, should just override JsonGeneratorBase.writeStartArray() instead of defining this method
protected  void JsonGeneratorBase._writeStartObject()
          Deprecated. since 1.7, should just override JsonGeneratorBase.writeStartObject() instead of defining this method
 void WriterBasedGenerator.writeBinary(Base64Variant b64variant, byte[] data, int offset, int len)
           
 void Utf8Generator.writeBinary(Base64Variant b64variant, byte[] data, int offset, int len)
           
 void WriterBasedGenerator.writeBoolean(boolean state)
           
 void Utf8Generator.writeBoolean(boolean state)
           
 void WriterBasedGenerator.writeEndArray()
           
 void Utf8Generator.writeEndArray()
           
 void JsonGeneratorBase.writeEndArray()
           
 void WriterBasedGenerator.writeEndObject()
           
 void Utf8Generator.writeEndObject()
           
 void JsonGeneratorBase.writeEndObject()
           
 void WriterBasedGenerator.writeFieldName(SerializableString name)
           
 void Utf8Generator.writeFieldName(SerializableString name)
           
 void WriterBasedGenerator.writeFieldName(SerializedString name)
           
 void Utf8Generator.writeFieldName(SerializedString name)
           
 void WriterBasedGenerator.writeFieldName(String name)
           
 void Utf8Generator.writeFieldName(String name)
           
 void Indenter.writeIndentation(JsonGenerator jg, int level)
           
 void WriterBasedGenerator.writeNull()
           
 void Utf8Generator.writeNull()
           
 void WriterBasedGenerator.writeNumber(BigDecimal value)
           
 void Utf8Generator.writeNumber(BigDecimal value)
           
 void WriterBasedGenerator.writeNumber(BigInteger value)
           
 void Utf8Generator.writeNumber(BigInteger value)
           
 void WriterBasedGenerator.writeNumber(double d)
           
 void Utf8Generator.writeNumber(double d)
           
 void WriterBasedGenerator.writeNumber(float f)
           
 void Utf8Generator.writeNumber(float f)
           
 void WriterBasedGenerator.writeNumber(int i)
           
 void Utf8Generator.writeNumber(int i)
           
 void WriterBasedGenerator.writeNumber(long l)
           
 void Utf8Generator.writeNumber(long l)
           
 void WriterBasedGenerator.writeNumber(String encodedValue)
           
 void Utf8Generator.writeNumber(String encodedValue)
           
 void WriterBasedGenerator.writeRaw(char c)
           
 void Utf8Generator.writeRaw(char ch)
           
 void WriterBasedGenerator.writeRaw(char[] text, int offset, int len)
           
 void Utf8Generator.writeRaw(char[] cbuf, int offset, int len)
           
 void WriterBasedGenerator.writeRaw(String text)
           
 void Utf8Generator.writeRaw(String text)
           
 void WriterBasedGenerator.writeRaw(String text, int start, int len)
           
 void Utf8Generator.writeRaw(String text, int offset, int len)
           
 void WriterBasedGenerator.writeRawUTF8String(byte[] text, int offset, int length)
           
 void Utf8Generator.writeRawUTF8String(byte[] text, int offset, int length)
           
 void JsonGeneratorBase.writeRawValue(char[] text, int offset, int len)
           
 void JsonGeneratorBase.writeRawValue(String text)
           
 void JsonGeneratorBase.writeRawValue(String text, int offset, int len)
           
 void WriterBasedGenerator.writeStartArray()
           
 void Utf8Generator.writeStartArray()
           
 void JsonGeneratorBase.writeStartArray()
           
 void WriterBasedGenerator.writeStartObject()
           
 void Utf8Generator.writeStartObject()
           
 void JsonGeneratorBase.writeStartObject()
           
 void WriterBasedGenerator.writeString(char[] text, int offset, int len)
           
 void Utf8Generator.writeString(char[] text, int offset, int len)
           
 void WriterBasedGenerator.writeString(SerializableString sstr)
           
 void Utf8Generator.writeString(SerializableString text)
           
 void WriterBasedGenerator.writeString(String text)
           
 void Utf8Generator.writeString(String text)
           
 void WriterBasedGenerator.writeStringField(String fieldName, String value)
           
 void Utf8Generator.writeStringField(String fieldName, String value)
           
 void WriterBasedGenerator.writeUTF8String(byte[] text, int offset, int length)
           
 void Utf8Generator.writeUTF8String(byte[] text, int offset, int len)
           
 

Uses of JsonGenerationException in org.codehaus.jackson.map
 

Methods in org.codehaus.jackson.map that throw JsonGenerationException
protected  void ObjectWriter._configAndWriteValue(JsonGenerator jgen, Object value)
          Method called to configure the generator as necessary and then call write functionality
protected  void ObjectMapper._configAndWriteValue(JsonGenerator jgen, Object value)
          Method called to configure the generator as necessary and then call write functionality
protected  void ObjectMapper._configAndWriteValue(JsonGenerator jgen, Object value, Class<?> viewClass)
           
abstract  void SerializerProvider.serializeValue(SerializationConfig cfg, JsonGenerator jgen, Object value, JavaType rootType, SerializerFactory jsf)
          The method to be called by ObjectMapper to execute recursive serialization, using serializers that this provider has access to; and using specified root type for locating first-level serializer.
abstract  void SerializerProvider.serializeValue(SerializationConfig cfg, JsonGenerator jgen, Object value, SerializerFactory jsf)
          The method to be called by ObjectMapper to execute recursive serialization, using serializers that this provider has access to.
 void ObjectWriter.writeValue(File resultFile, Object value)
          Method that can be used to serialize any Java value as JSON output, written to File provided.
 void ObjectMapper.writeValue(File resultFile, Object value)
          Method that can be used to serialize any Java value as JSON output, written to File provided.
 void ObjectWriter.writeValue(JsonGenerator jgen, Object value)
          Method that can be used to serialize any Java value as JSON output, using provided JsonGenerator.
 void ObjectMapper.writeValue(JsonGenerator jgen, Object value)
          Method that can be used to serialize any Java value as JSON output, using provided JsonGenerator.
 void ObjectMapper.writeValue(JsonGenerator jgen, Object value, SerializationConfig config)
          Method that can be used to serialize any Java value as JSON output, using provided JsonGenerator, configured as per passed configuration object.
 void ObjectWriter.writeValue(OutputStream out, Object value)
          Method that can be used to serialize any Java value as JSON output, using output stream provided (using encoding JsonEncoding.UTF8).
 void ObjectMapper.writeValue(OutputStream out, Object value)
          Method that can be used to serialize any Java value as JSON output, using output stream provided (using encoding JsonEncoding.UTF8).
 void ObjectWriter.writeValue(Writer w, Object value)
          Method that can be used to serialize any Java value as JSON output, using Writer provided.
 void ObjectMapper.writeValue(Writer w, Object value)
          Method that can be used to serialize any Java value as JSON output, using Writer provided.
 byte[] ObjectWriter.writeValueAsBytes(Object value)
          Method that can be used to serialize any Java value as a byte array.
 byte[] ObjectMapper.writeValueAsBytes(Object value)
          Method that can be used to serialize any Java value as a byte array.
 String ObjectWriter.writeValueAsString(Object value)
          Method that can be used to serialize any Java value as a String.
 String ObjectMapper.writeValueAsString(Object value)
          Method that can be used to serialize any Java value as a String.
 

Uses of JsonGenerationException in org.codehaus.jackson.map.ext
 

Methods in org.codehaus.jackson.map.ext that throw JsonGenerationException
 void JodaSerializers.DateMidnightSerializer.serialize(DateMidnight dt, JsonGenerator jgen, SerializerProvider provider)
           
 void JodaSerializers.DateTimeSerializer.serialize(DateTime value, JsonGenerator jgen, SerializerProvider provider)
           
 void JodaSerializers.LocalDateSerializer.serialize(LocalDate dt, JsonGenerator jgen, SerializerProvider provider)
           
 void JodaSerializers.LocalDateTimeSerializer.serialize(LocalDateTime dt, JsonGenerator jgen, SerializerProvider provider)
           
 void DOMSerializer.serialize(Node value, JsonGenerator jgen, SerializerProvider provider)
           
 void CoreXMLSerializers.XMLGregorianCalendarSerializer.serialize(XMLGregorianCalendar value, JsonGenerator jgen, SerializerProvider provider)
           
 

Uses of JsonGenerationException in org.codehaus.jackson.map.ser
 

Methods in org.codehaus.jackson.map.ser that throw JsonGenerationException
 void StdSerializers.BooleanSerializer.serialize(Boolean value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.SqlDateSerializer.serialize(Date value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.DoubleSerializer.serialize(Double value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.FloatSerializer.serialize(Float value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.IntegerSerializer.serialize(Integer value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.LongSerializer.serialize(Long value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.IntLikeSerializer.serialize(Number value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.NumberSerializer.serialize(Number value, JsonGenerator jgen, SerializerProvider provider)
           
 void BeanSerializer.serialize(Object bean, JsonGenerator jgen, SerializerProvider provider)
          Main serialization method that will delegate actual output to configured BeanPropertyWriter instances.
 void StdSerializers.StringSerializer.serialize(String value, JsonGenerator jgen, SerializerProvider provider)
          Deprecated.  
 void StdSerializers.SqlTimeSerializer.serialize(Time value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializerProvider.serializeValue(SerializationConfig config, JsonGenerator jgen, Object value, JavaType rootType, SerializerFactory jsf)
           
 void StdSerializerProvider.serializeValue(SerializationConfig config, JsonGenerator jgen, Object value, SerializerFactory jsf)
           
 

Uses of JsonGenerationException in org.codehaus.jackson.map.ser.impl
 

Methods in org.codehaus.jackson.map.ser.impl that throw JsonGenerationException
 void UnwrappingBeanSerializer.serialize(Object bean, JsonGenerator jgen, SerializerProvider provider)
          Main serialization method that will delegate actual output to configured BeanPropertyWriter instances.
 void FailingSerializer.serialize(Object value, JsonGenerator jgen, SerializerProvider provider)
           
 void UnknownSerializer.serializeWithType(Object value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 

Uses of JsonGenerationException in org.codehaus.jackson.map.ser.std
 

Methods in org.codehaus.jackson.map.ser.std that throw JsonGenerationException
 void StdJdkSerializers.AtomicBooleanSerializer.serialize(AtomicBoolean value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdJdkSerializers.AtomicIntegerSerializer.serialize(AtomicInteger value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdJdkSerializers.AtomicLongSerializer.serialize(AtomicLong value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdJdkSerializers.AtomicReferenceSerializer.serialize(AtomicReference<?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdArraySerializers.ByteArraySerializer.serialize(byte[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdKeySerializers.CalendarKeySerializer.serialize(Calendar value, JsonGenerator jgen, SerializerProvider provider)
           
 void CalendarSerializer.serialize(Calendar value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdArraySerializers.CharArraySerializer.serialize(char[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdJdkSerializers.ClassSerializer.serialize(Class<?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void StringCollectionSerializer.serialize(Collection<String> value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdKeySerializers.DateKeySerializer.serialize(Date value, JsonGenerator jgen, SerializerProvider provider)
           
 void DateSerializer.serialize(Date value, JsonGenerator jgen, SerializerProvider provider)
           
 void EnumSerializer.serialize(Enum<?> en, JsonGenerator jgen, SerializerProvider provider)
           
 void EnumMapSerializer.serialize(EnumMap<? extends Enum<?>,?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdJdkSerializers.FileSerializer.serialize(File value, JsonGenerator jgen, SerializerProvider provider)
           
 void InetAddressSerializer.serialize(InetAddress value, JsonGenerator jgen, SerializerProvider provider)
           
 void SerializableSerializer.serialize(JsonSerializable value, JsonGenerator jgen, SerializerProvider provider)
           
 void SerializableWithTypeSerializer.serialize(JsonSerializableWithType value, JsonGenerator jgen, SerializerProvider provider)
           
 void IndexedStringListSerializer.serialize(List<String> value, JsonGenerator jgen, SerializerProvider provider)
           
 void MapSerializer.serialize(Map<?,?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void ToStringSerializer.serialize(Object value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdKeySerializer.serialize(Object value, JsonGenerator jgen, SerializerProvider provider)
           
 void NullSerializer.serialize(Object value, JsonGenerator jgen, SerializerProvider provider)
           
 void JsonValueSerializer.serialize(Object bean, JsonGenerator jgen, SerializerProvider prov)
           
abstract  void BeanSerializerBase.serialize(Object bean, JsonGenerator jgen, SerializerProvider provider)
           
 void StringSerializer.serialize(String value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdKeySerializers.StringKeySerializer.serialize(String value, JsonGenerator jgen, SerializerProvider provider)
           
 void TimeZoneSerializer.serialize(TimeZone value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdArraySerializers.ArraySerializerBase.serialize(T value, JsonGenerator jgen, SerializerProvider provider)
           
abstract  void SerializerBase.serialize(T value, JsonGenerator jgen, SerializerProvider provider)
           
 void RawSerializer.serialize(T value, JsonGenerator jgen, SerializerProvider provider)
           
 void AsArraySerializerBase.serialize(T value, JsonGenerator jgen, SerializerProvider provider)
           
 void TokenBufferSerializer.serialize(TokenBuffer value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdArraySerializers.BooleanArraySerializer.serializeContents(boolean[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void CollectionSerializer.serializeContents(Collection<?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdArraySerializers.DoubleArraySerializer.serializeContents(double[] value, JsonGenerator jgen, SerializerProvider provider)
           
protected  void EnumMapSerializer.serializeContents(EnumMap<? extends Enum<?>,?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void EnumSetSerializer.serializeContents(EnumSet<? extends Enum<?>> value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdArraySerializers.FloatArraySerializer.serializeContents(float[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdArraySerializers.IntArraySerializer.serializeContents(int[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void IterableSerializer.serializeContents(Iterable<?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdContainerSerializers.IteratorSerializer.serializeContents(Iterator<?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdContainerSerializers.IndexedListSerializer.serializeContents(List<?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdArraySerializers.LongArraySerializer.serializeContents(long[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void ObjectArraySerializer.serializeContents(Object[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdArraySerializers.ShortArraySerializer.serializeContents(short[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdArraySerializers.StringArraySerializer.serializeContents(String[] value, JsonGenerator jgen, SerializerProvider provider)
           
protected abstract  void StdArraySerializers.ArraySerializerBase.serializeContents(T value, JsonGenerator jgen, SerializerProvider provider)
           
protected abstract  void AsArraySerializerBase.serializeContents(T value, JsonGenerator jgen, SerializerProvider provider)
           
 void CollectionSerializer.serializeContentsUsing(Collection<?> value, JsonGenerator jgen, SerializerProvider provider, JsonSerializer<Object> ser)
           
protected  void EnumMapSerializer.serializeContentsUsing(EnumMap<? extends Enum<?>,?> value, JsonGenerator jgen, SerializerProvider provider, JsonSerializer<Object> valueSer)
           
 void StdContainerSerializers.IndexedListSerializer.serializeContentsUsing(List<?> value, JsonGenerator jgen, SerializerProvider provider, JsonSerializer<Object> ser)
           
 void ObjectArraySerializer.serializeContentsUsing(Object[] value, JsonGenerator jgen, SerializerProvider provider, JsonSerializer<Object> ser)
           
 void MapSerializer.serializeFields(Map<?,?> value, JsonGenerator jgen, SerializerProvider provider)
          Method called to serialize fields, when the value type is not statically known.
protected  void BeanSerializerBase.serializeFields(Object bean, JsonGenerator jgen, SerializerProvider provider)
           
protected  void BeanSerializerBase.serializeFieldsFiltered(Object bean, JsonGenerator jgen, SerializerProvider provider)
          Alternative serialization method that gets called when there is a BeanPropertyFilter that needs to be called to determine which properties are to be serialized (and possibly how)
protected  void MapSerializer.serializeFieldsUsing(Map<?,?> value, JsonGenerator jgen, SerializerProvider provider, JsonSerializer<Object> ser)
          Method called to serialize fields, when the value type is statically known, so that value serializer is passed and does not need to be fetched from provider.
 void StdContainerSerializers.IndexedListSerializer.serializeTypedContents(List<?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void ObjectArraySerializer.serializeTypedContents(Object[] value, JsonGenerator jgen, SerializerProvider provider)
           
protected  void MapSerializer.serializeTypedFields(Map<?,?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdArraySerializers.ByteArraySerializer.serializeWithType(byte[] value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void StdArraySerializers.CharArraySerializer.serializeWithType(char[] value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void StringCollectionSerializer.serializeWithType(Collection<String> value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void EnumMapSerializer.serializeWithType(EnumMap<? extends Enum<?>,?> value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void InetAddressSerializer.serializeWithType(InetAddress value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void SerializableSerializer.serializeWithType(JsonSerializable value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void SerializableWithTypeSerializer.serializeWithType(JsonSerializableWithType value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void IndexedStringListSerializer.serializeWithType(List<String> value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void MapSerializer.serializeWithType(Map<?,?> value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void ToStringSerializer.serializeWithType(Object value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
          Default implementation will write type prefix, call regular serialization method (since assumption is that value itself does not need JSON Array or Object start/end markers), and then write type suffix.
 void BeanSerializerBase.serializeWithType(Object bean, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void TimeZoneSerializer.serializeWithType(TimeZone value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void StdArraySerializers.ArraySerializerBase.serializeWithType(T value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void ScalarSerializerBase.serializeWithType(T value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
          Default implementation will write type prefix, call regular serialization method (since assumption is that value itself does not need JSON Array or Object start/end markers), and then write type suffix.
 void NonTypedScalarSerializerBase.serializeWithType(T value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void AsArraySerializerBase.serializeWithType(T value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void TokenBufferSerializer.serializeWithType(TokenBuffer value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
          Implementing typed output for contents of a TokenBuffer is very tricky, since we do not know for sure what its contents might look like (or, rather, we do know when serializing, but not necessarily when deserializing!) One possibility would be to check the current token, and use that to determine if we would output JSON Array, Object or scalar value.
 

Uses of JsonGenerationException in org.codehaus.jackson.smile
 

Methods in org.codehaus.jackson.smile that throw JsonGenerationException
protected  void SmileGenerator._verifyValueWrite(String typeMsg)
           
protected  void SmileGenerator._writeFieldName(SerializableString name)
           
protected  void SmileGenerator._writeFieldNameUnicode(SerializableString name, byte[] bytes)
           
 void SmileGenerator.writeBinary(Base64Variant b64variant, byte[] data, int offset, int len)
           
 void SmileGenerator.writeBoolean(boolean state)
           
 void SmileGenerator.writeEndArray()
           
 void SmileGenerator.writeEndObject()
           
 void SmileGenerator.writeFieldName(SerializableString name)
           
 void SmileGenerator.writeFieldName(SerializedString name)
           
 void SmileGenerator.writeFieldName(String name)
           
 void SmileGenerator.writeNull()
           
 void SmileGenerator.writeNumber(BigDecimal dec)
           
 void SmileGenerator.writeNumber(BigInteger v)
           
 void SmileGenerator.writeNumber(double d)
           
 void SmileGenerator.writeNumber(float f)
           
 void SmileGenerator.writeNumber(int i)
           
 void SmileGenerator.writeNumber(long l)
           
 void SmileGenerator.writeNumber(String encodedValue)
           
 void SmileGenerator.writeRaw(byte b)
          Method for directly inserting specified byte in output at current position.
 void SmileGenerator.writeRaw(char c)
           
 void SmileGenerator.writeRaw(char[] text, int offset, int len)
           
 void SmileGenerator.writeRaw(String text)
           
 void SmileGenerator.writeRaw(String text, int offset, int len)
           
 void SmileGenerator.writeRawUTF8String(byte[] text, int offset, int len)
           
 void SmileGenerator.writeRawValue(char[] text, int offset, int len)
           
 void SmileGenerator.writeRawValue(String text)
           
 void SmileGenerator.writeRawValue(String text, int offset, int len)
           
 void SmileGenerator.writeStartArray()
           
 void SmileGenerator.writeStartObject()
           
 void SmileGenerator.writeString(char[] text, int offset, int len)
           
 void SmileGenerator.writeString(SerializableString sstr)
           
 void SmileGenerator.writeString(String text)
           
 void SmileGenerator.writeStringField(String fieldName, String value)
           
 void SmileGenerator.writeUTF8String(byte[] text, int offset, int len)
           
 

Uses of JsonGenerationException in org.codehaus.jackson.util
 

Methods in org.codehaus.jackson.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 TokenBuffer.serialize(JsonGenerator jgen)
          Helper method that will write all contents of this buffer using given JsonGenerator.
 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 TokenBuffer.writeBinary(Base64Variant b64variant, byte[] data, int offset, int len)
           
 void JsonGeneratorDelegate.writeBinary(Base64Variant b64variant, byte[] data, int offset, int len)
           
 void TokenBuffer.writeBoolean(boolean state)
           
 void JsonGeneratorDelegate.writeBoolean(boolean state)
           
 void TokenBuffer.writeEndArray()
           
 void JsonGeneratorDelegate.writeEndArray()
           
 void MinimalPrettyPrinter.writeEndArray(JsonGenerator jg, int nrOfValues)
           
 void DefaultPrettyPrinter.writeEndArray(JsonGenerator jg, int nrOfValues)
           
 void TokenBuffer.writeEndObject()
           
 void JsonGeneratorDelegate.writeEndObject()
           
 void MinimalPrettyPrinter.writeEndObject(JsonGenerator jg, int nrOfEntries)
           
 void DefaultPrettyPrinter.writeEndObject(JsonGenerator jg, int nrOfEntries)
           
 void TokenBuffer.writeFieldName(SerializableString name)
           
 void JsonGeneratorDelegate.writeFieldName(SerializableString name)
           
 void TokenBuffer.writeFieldName(SerializedString name)
           
 void JsonGeneratorDelegate.writeFieldName(SerializedString name)
           
 void TokenBuffer.writeFieldName(String name)
           
 void JsonGeneratorDelegate.writeFieldName(String name)
           
 void DefaultPrettyPrinter.FixedSpaceIndenter.writeIndentation(JsonGenerator jg, int level)
           
 void DefaultPrettyPrinter.Lf2SpacesIndenter.writeIndentation(JsonGenerator jg, int level)
           
 void TokenBuffer.writeNull()
           
 void JsonGeneratorDelegate.writeNull()
           
 void TokenBuffer.writeNumber(BigDecimal dec)
           
 void JsonGeneratorDelegate.writeNumber(BigDecimal v)
           
 void TokenBuffer.writeNumber(BigInteger v)
           
 void JsonGeneratorDelegate.writeNumber(BigInteger v)
           
 void TokenBuffer.writeNumber(double d)
           
 void JsonGeneratorDelegate.writeNumber(double v)
           
 void TokenBuffer.writeNumber(float f)
           
 void JsonGeneratorDelegate.writeNumber(float v)
           
 void TokenBuffer.writeNumber(int i)
           
 void JsonGeneratorDelegate.writeNumber(int v)
           
 void TokenBuffer.writeNumber(long l)
           
 void JsonGeneratorDelegate.writeNumber(long v)
           
 void TokenBuffer.writeNumber(String encodedValue)
           
 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 TokenBuffer.writeRaw(char c)
           
 void JsonGeneratorDelegate.writeRaw(char c)
           
 void TokenBuffer.writeRaw(char[] text, int offset, int len)
           
 void JsonGeneratorDelegate.writeRaw(char[] text, int offset, int len)
           
 void TokenBuffer.writeRaw(String text)
           
 void JsonGeneratorDelegate.writeRaw(String text)
           
 void TokenBuffer.writeRaw(String text, int offset, int len)
           
 void JsonGeneratorDelegate.writeRaw(String text, int offset, int len)
           
 void TokenBuffer.writeRawUTF8String(byte[] text, int offset, int length)
           
 void JsonGeneratorDelegate.writeRawUTF8String(byte[] text, int offset, int length)
           
 void TokenBuffer.writeRawValue(char[] text, int offset, int len)
           
 void JsonGeneratorDelegate.writeRawValue(char[] text, int offset, int len)
           
 void TokenBuffer.writeRawValue(String text)
           
 void JsonGeneratorDelegate.writeRawValue(String text)
           
 void TokenBuffer.writeRawValue(String text, int offset, int len)
           
 void JsonGeneratorDelegate.writeRawValue(String text, int offset, int len)
           
 void MinimalPrettyPrinter.writeRootValueSeparator(JsonGenerator jg)
           
 void DefaultPrettyPrinter.writeRootValueSeparator(JsonGenerator jg)
           
 void TokenBuffer.writeStartArray()
           
 void JsonGeneratorDelegate.writeStartArray()
           
 void MinimalPrettyPrinter.writeStartArray(JsonGenerator jg)
           
 void DefaultPrettyPrinter.writeStartArray(JsonGenerator jg)
           
 void TokenBuffer.writeStartObject()
           
 void JsonGeneratorDelegate.writeStartObject()
           
 void MinimalPrettyPrinter.writeStartObject(JsonGenerator jg)
           
 void DefaultPrettyPrinter.writeStartObject(JsonGenerator jg)
           
 void TokenBuffer.writeString(char[] text, int offset, int len)
           
 void JsonGeneratorDelegate.writeString(char[] text, int offset, int len)
           
 void TokenBuffer.writeString(SerializableString text)
           
 void JsonGeneratorDelegate.writeString(SerializableString text)
           
 void TokenBuffer.writeString(String text)
           
 void JsonGeneratorDelegate.writeString(String text)
           
 void TokenBuffer.writeUTF8String(byte[] text, int offset, int length)
           
 void JsonGeneratorDelegate.writeUTF8String(byte[] text, int offset, int length)
           
 

Uses of JsonGenerationException in org.codehaus.jackson.xc
 

Methods in org.codehaus.jackson.xc that throw JsonGenerationException
 void DomElementJsonSerializer.serialize(Element value, JsonGenerator jgen, SerializerProvider provider)