Uses of Class
org.codehaus.jackson.JsonGenerator

Packages that use JsonGenerator
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.jsontype.impl Package that contains standard implementations for TypeResolverBuilder and TypeIdResolver
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.util Utility classes for Mapper package. 
org.codehaus.jackson.node Contains concrete JsonNode implementations Jackson uses for the Tree model. 
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 JsonGenerator in org.codehaus.jackson
 

Methods in org.codehaus.jackson that return JsonGenerator
protected  JsonGenerator JsonFactory._createJsonGenerator(Writer out, IOContext ctxt)
          Overridable factory method that actually instantiates desired generator.
protected  JsonGenerator JsonFactory._createUTF8JsonGenerator(OutputStream out, IOContext ctxt)
          Overridable factory method that actually instantiates desired generator that is specifically to output content using specified output stream and using UTF-8 encoding.
 JsonGenerator JsonGenerator.configure(JsonGenerator.Feature f, boolean state)
          Method for enabling or disabling specified feature: check JsonGenerator.Feature for list of available features.
 JsonGenerator JsonFactory.createJsonGenerator(File f, JsonEncoding enc)
          Method for constructing json generator for writing json content to specified file, overwriting contents it might have (or creating it if such file does not yet exist).
 JsonGenerator JsonFactory.createJsonGenerator(OutputStream out, JsonEncoding enc)
          Method for constructing JSON generator for writing JSON content using specified output stream.
 JsonGenerator JsonFactory.createJsonGenerator(Writer out)
          Method for constructing JSON generator for writing JSON content using specified Writer.
abstract  JsonGenerator JsonGenerator.disable(JsonGenerator.Feature f)
          Method for disabling specified features (check JsonGenerator.Feature for list of features)
abstract  JsonGenerator JsonGenerator.enable(JsonGenerator.Feature f)
          Method for enabling specified parser features: check JsonGenerator.Feature for list of available features.
abstract  JsonGenerator JsonGenerator.setCodec(ObjectCodec oc)
          Method that can be called to set or reset the object to use for writing Java objects as JsonContent (using method writeObject(java.lang.Object)).
 JsonGenerator JsonGenerator.setPrettyPrinter(PrettyPrinter pp)
          Method for setting a custom pretty printer, which is usually used to add indentation for improved human readability.
abstract  JsonGenerator JsonGenerator.useDefaultPrettyPrinter()
          Convenience method for enabling pretty-printing using the default pretty printer (DefaultPrettyPrinter).
 

Methods in org.codehaus.jackson with parameters of type JsonGenerator
 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 PrettyPrinter.writeArrayValueSeparator(JsonGenerator jg)
          Method called after an array value has been completely output, and before another value is to be output.
 void PrettyPrinter.writeEndArray(JsonGenerator jg, int nrOfValues)
          Method called after an Array value has been completely output (minus closing bracket).
 void PrettyPrinter.writeEndObject(JsonGenerator jg, int nrOfEntries)
          Method called after an Object value has been completely output (minus closing curly bracket).
 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 PrettyPrinter.writeObjectFieldValueSeparator(JsonGenerator jg)
          Method called after an object field has been output, but before the value is output.
 void PrettyPrinter.writeRootValueSeparator(JsonGenerator jg)
          Method called after a root-level value has been completely output, and before another value is to be output.
 void PrettyPrinter.writeStartArray(JsonGenerator jg)
          Method called when an Array value is to be output, before any member/child values are output.
 void PrettyPrinter.writeStartObject(JsonGenerator jg)
          Method called when an Object value is to be output, before any fields are output.
abstract  void JsonNode.writeTo(JsonGenerator jg)
          Deprecated. Use methods that are part of JsonGenerator or ObjectMapper instead.
abstract  void ObjectCodec.writeTree(JsonGenerator jgen, JsonNode rootNode)
          Method to serialize given Json Tree, using generator provided.
abstract  void ObjectCodec.writeValue(JsonGenerator jgen, Object value)
          Method to serialize given Java Object, using generator provided.
 

Uses of JsonGenerator in org.codehaus.jackson.impl
 

Subclasses of JsonGenerator in org.codehaus.jackson.impl
 class JsonGeneratorBase
          This base class implements part of API that a JSON generator exposes to applications, adds shared internal methods that sub-classes can use and adds some abstract methods sub-classes must implement.
 class Utf8Generator
           
 class WriterBasedGenerator
          JsonGenerator that outputs JSON content using a Writer which handles character encoding.
 

Methods in org.codehaus.jackson.impl that return JsonGenerator
 JsonGenerator JsonGeneratorBase.disable(JsonGenerator.Feature f)
           
 JsonGenerator JsonGeneratorBase.enable(JsonGenerator.Feature f)
           
 JsonGenerator JsonGeneratorBase.setCodec(ObjectCodec oc)
           
 JsonGenerator JsonGeneratorBase.useDefaultPrettyPrinter()
           
 

Methods in org.codehaus.jackson.impl with parameters of type JsonGenerator
 void Indenter.writeIndentation(JsonGenerator jg, int level)
           
 

Uses of JsonGenerator in org.codehaus.jackson.map
 

Methods in org.codehaus.jackson.map with parameters of type JsonGenerator
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.defaultSerializeDateValue(Date date, JsonGenerator jgen)
          Method that will handle serialization of Date(-like) values, using SerializationConfig settings to determine expected serialization behavior.
abstract  void SerializerProvider.defaultSerializeDateValue(long timestamp, JsonGenerator jgen)
          Method that will handle serialization of Date(-like) values, using SerializationConfig settings to determine expected serialization behavior.
 void SerializerProvider.defaultSerializeField(String fieldName, Object value, JsonGenerator jgen)
          Convenience method that will serialize given field with specified value.
 void SerializerProvider.defaultSerializeNull(JsonGenerator jgen)
           
 void SerializerProvider.defaultSerializeValue(Object value, JsonGenerator jgen)
          Convenience method that will serialize given value (which can be null) using standard serializer locating functionality.
 void JsonSerializable.serialize(JsonGenerator jgen, SerializerProvider provider)
          Deprecated.  
abstract  void JsonSerializer.serialize(T value, JsonGenerator jgen, SerializerProvider provider)
          Method that can be called to ask implementation to serialize values of type this serializer handles.
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 JsonSerializableWithType.serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void JsonSerializer.serializeWithType(T value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
          Method that can be called to ask implementation to serialize values of type this serializer handles, using specified type serializer for embedding necessary type information.
 void ObjectMapper.writeTree(JsonGenerator jgen, JsonNode rootNode)
          Method to serialize given JSON Tree, using generator provided.
 void ObjectMapper.writeTree(JsonGenerator jgen, JsonNode rootNode, SerializationConfig cfg)
          Method to serialize given Json Tree, using generator provided.
abstract  void TypeSerializer.writeTypePrefixForArray(Object value, JsonGenerator jgen)
          Method called to write initial part of type information for given value, when it will be output as JSON Array value (not as JSON Object or scalar).
abstract  void TypeSerializer.writeTypePrefixForObject(Object value, JsonGenerator jgen)
          Method called to write initial part of type information for given value, when it will be output as JSON Object value (not as JSON Array or scalar).
abstract  void TypeSerializer.writeTypePrefixForScalar(Object value, JsonGenerator jgen)
          Method called to write initial part of type information for given value, when it will be output as scalar JSON value (not as JSON Object or Array).
abstract  void TypeSerializer.writeTypeSuffixForArray(Object value, JsonGenerator jgen)
           
abstract  void TypeSerializer.writeTypeSuffixForObject(Object value, JsonGenerator jgen)
          Method called after value has been serialized, to close any scopes opened by earlier matching call to TypeSerializer.writeTypePrefixForObject(java.lang.Object, org.codehaus.jackson.JsonGenerator).
abstract  void TypeSerializer.writeTypeSuffixForScalar(Object value, JsonGenerator jgen)
          Method called after value has been serialized, to close any scopes opened by earlier matching call to TypeSerializer.writeTypePrefixForScalar(java.lang.Object, org.codehaus.jackson.JsonGenerator).
 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 ObjectMapper.writeValueUsingView(JsonGenerator jgen, Object value, Class<?> viewClass)
          Deprecated. Use ObjectMapper.viewWriter(java.lang.Class) instead
 

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

Methods in org.codehaus.jackson.map.ext with parameters of type JsonGenerator
 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 JsonGenerator in org.codehaus.jackson.map.jsontype.impl
 

Methods in org.codehaus.jackson.map.jsontype.impl with parameters of type JsonGenerator
 void AsWrapperTypeSerializer.writeTypePrefixForArray(Object value, JsonGenerator jgen)
           
 void AsArrayTypeSerializer.writeTypePrefixForArray(Object value, JsonGenerator jgen)
           
 void AsWrapperTypeSerializer.writeTypePrefixForObject(Object value, JsonGenerator jgen)
           
 void AsPropertyTypeSerializer.writeTypePrefixForObject(Object value, JsonGenerator jgen)
           
 void AsArrayTypeSerializer.writeTypePrefixForObject(Object value, JsonGenerator jgen)
           
 void AsWrapperTypeSerializer.writeTypePrefixForScalar(Object value, JsonGenerator jgen)
           
 void AsArrayTypeSerializer.writeTypePrefixForScalar(Object value, JsonGenerator jgen)
           
 void AsWrapperTypeSerializer.writeTypeSuffixForArray(Object value, JsonGenerator jgen)
           
 void AsArrayTypeSerializer.writeTypeSuffixForArray(Object value, JsonGenerator jgen)
           
 void AsWrapperTypeSerializer.writeTypeSuffixForObject(Object value, JsonGenerator jgen)
           
 void AsPropertyTypeSerializer.writeTypeSuffixForObject(Object value, JsonGenerator jgen)
           
 void AsArrayTypeSerializer.writeTypeSuffixForObject(Object value, JsonGenerator jgen)
           
 void AsWrapperTypeSerializer.writeTypeSuffixForScalar(Object value, JsonGenerator jgen)
           
 void AsArrayTypeSerializer.writeTypeSuffixForScalar(Object value, JsonGenerator jgen)
           
 

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

Methods in org.codehaus.jackson.map.ser with parameters of type JsonGenerator
protected  void StdSerializerProvider._serializeValue(JsonGenerator jgen, Object value)
          Method called on the actual non-blueprint provider instance object, to kick off the serialization.
protected  void StdSerializerProvider._serializeValue(JsonGenerator jgen, Object value, JavaType rootType)
          Method called on the actual non-blueprint provider instance object, to kick off the serialization, when root type is explicitly specified and not determined from value.
 void StdSerializerProvider.defaultSerializeDateValue(Date date, JsonGenerator jgen)
           
 void StdSerializerProvider.defaultSerializeDateValue(long timestamp, JsonGenerator jgen)
           
 void AnyGetterWriter.getAndSerialize(Object bean, JsonGenerator jgen, SerializerProvider provider)
           
 void JdkSerializers.AtomicBooleanSerializer.serialize(AtomicBoolean value, JsonGenerator jgen, SerializerProvider provider)
           
 void JdkSerializers.AtomicIntegerSerializer.serialize(AtomicInteger value, JsonGenerator jgen, SerializerProvider provider)
           
 void JdkSerializers.AtomicLongSerializer.serialize(AtomicLong value, JsonGenerator jgen, SerializerProvider provider)
           
 void JdkSerializers.AtomicReferenceSerializer.serialize(AtomicReference<?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.BooleanSerializer.serialize(Boolean value, JsonGenerator jgen, SerializerProvider provider)
           
 void ArraySerializers.ByteArraySerializer.serialize(byte[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.CalendarSerializer.serialize(Calendar value, JsonGenerator jgen, SerializerProvider provider)
           
 void ArraySerializers.CharArraySerializer.serialize(char[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void JdkSerializers.ClassSerializer.serialize(Class value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.UtilDateSerializer.serialize(Date 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 EnumSerializer.serialize(Enum<?> en, JsonGenerator jgen, SerializerProvider provider)
           
 void EnumMapSerializer.serialize(EnumMap<? extends Enum<?>,?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void JdkSerializers.FileSerializer.serialize(File 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.SerializableSerializer.serialize(JsonSerializable value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.SerializableWithTypeSerializer.serialize(JsonSerializableWithType value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.LongSerializer.serialize(Long value, JsonGenerator jgen, SerializerProvider provider)
           
 void MapSerializer.serialize(Map<?,?> 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 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)
           
 void FailingSerializer.serialize(Object 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)
           
 void StdSerializers.SqlTimeSerializer.serialize(Time value, JsonGenerator jgen, SerializerProvider provider)
           
abstract  void SerializerBase.serialize(T value, JsonGenerator jgen, SerializerProvider provider)
           
 void ContainerSerializers.AsArraySerializer.serialize(T value, JsonGenerator jgen, SerializerProvider provider)
           
 void ArraySerializers.AsArraySerializer.serialize(T value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.TokenBufferSerializer.serialize(TokenBuffer value, JsonGenerator jgen, SerializerProvider provider)
           
 void BeanPropertyWriter.serializeAsField(Object bean, JsonGenerator jgen, SerializerProvider prov)
          Method called to access property that this bean stands for, from within given bean, and to serialize it as a JSON Object field using appropriate serializer.
 void BeanPropertyFilter.serializeAsField(Object bean, JsonGenerator jgen, SerializerProvider prov, BeanPropertyWriter writer)
          Method called by BeanSerializer to let filter decide what to do with given bean property value: the usual choices are to either filter out (i.e.
 void ArraySerializers.BooleanArraySerializer.serializeContents(boolean[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void ContainerSerializers.CollectionSerializer.serializeContents(Collection<?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void ArraySerializers.DoubleArraySerializer.serializeContents(double[] value, JsonGenerator jgen, SerializerProvider provider)
           
protected  void EnumMapSerializer.serializeContents(EnumMap<? extends Enum<?>,?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void ContainerSerializers.EnumSetSerializer.serializeContents(EnumSet<? extends Enum<?>> value, JsonGenerator jgen, SerializerProvider provider)
           
 void ArraySerializers.FloatArraySerializer.serializeContents(float[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void ArraySerializers.IntArraySerializer.serializeContents(int[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void ContainerSerializers.IterableSerializer.serializeContents(Iterable<?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void ContainerSerializers.IteratorSerializer.serializeContents(Iterator<?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void ContainerSerializers.IndexedListSerializer.serializeContents(List<?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void ArraySerializers.LongArraySerializer.serializeContents(long[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void ArraySerializers.ShortArraySerializer.serializeContents(short[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void ArraySerializers.StringArraySerializer.serializeContents(String[] value, JsonGenerator jgen, SerializerProvider provider)
           
protected abstract  void ContainerSerializers.AsArraySerializer.serializeContents(T value, JsonGenerator jgen, SerializerProvider provider)
           
protected abstract  void ArraySerializers.AsArraySerializer.serializeContents(T value, JsonGenerator jgen, SerializerProvider provider)
           
 void ContainerSerializers.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 ContainerSerializers.IndexedListSerializer.serializeContentsUsing(List<?> value, JsonGenerator jgen, SerializerProvider provider, JsonSerializer<Object> ser)
           
protected  void MapSerializer.serializeFields(Map<?,?> value, JsonGenerator jgen, SerializerProvider provider)
          Method called to serialize fields, when the value type is not statically known.
protected  void BeanSerializer.serializeFields(Object bean, JsonGenerator jgen, SerializerProvider provider)
           
protected  void BeanSerializer.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 ContainerSerializers.IndexedListSerializer.serializeTypedContents(List<?> value, JsonGenerator jgen, SerializerProvider provider)
           
protected  void MapSerializer.serializeTypedFields(Map<?,?> 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)
           
 void ArraySerializers.ByteArraySerializer.serializeWithType(byte[] value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void ArraySerializers.CharArraySerializer.serializeWithType(char[] value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void EnumMapSerializer.serializeWithType(EnumMap<? extends Enum<?>,?> value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void StdSerializers.SerializableSerializer.serializeWithType(JsonSerializable value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void StdSerializers.SerializableWithTypeSerializer.serializeWithType(JsonSerializableWithType value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void MapSerializer.serializeWithType(Map<?,?> value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void JsonValueSerializer.serializeWithType(Object bean, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void BeanSerializer.serializeWithType(Object bean, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void StdSerializers.NonTypedScalarSerializer.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 ContainerSerializers.AsArraySerializer.serializeWithType(T value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void ArraySerializers.AsArraySerializer.serializeWithType(T value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void StdSerializers.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 JsonGenerator in org.codehaus.jackson.map.ser.impl
 

Methods in org.codehaus.jackson.map.ser.impl with parameters of type JsonGenerator
 void StringCollectionSerializer.serialize(Collection<String> value, JsonGenerator jgen, SerializerProvider provider)
           
 void IndexedStringListSerializer.serialize(List<String> value, JsonGenerator jgen, SerializerProvider provider)
           
 void RawSerializer.serialize(T value, JsonGenerator jgen, SerializerProvider provider)
           
 void SimpleBeanPropertyFilter.FilterExceptFilter.serializeAsField(Object bean, JsonGenerator jgen, SerializerProvider provider, BeanPropertyWriter writer)
           
 void SimpleBeanPropertyFilter.SerializeExceptFilter.serializeAsField(Object bean, JsonGenerator jgen, SerializerProvider provider, BeanPropertyWriter writer)
           
 void ObjectArraySerializer.serializeContents(Object[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void ObjectArraySerializer.serializeContentsUsing(Object[] value, JsonGenerator jgen, SerializerProvider provider, JsonSerializer<Object> ser)
           
 void ObjectArraySerializer.serializeTypedContents(Object[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void StringCollectionSerializer.serializeWithType(Collection<String> value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void IndexedStringListSerializer.serializeWithType(List<String> value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void RawSerializer.serializeWithType(T value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 

Uses of JsonGenerator in org.codehaus.jackson.map.util
 

Methods in org.codehaus.jackson.map.util with parameters of type JsonGenerator
 void JSONWrappedObject.serialize(JsonGenerator jgen, SerializerProvider provider)
           
 void JSONPObject.serialize(JsonGenerator jgen, SerializerProvider provider)
           
 void JSONWrappedObject.serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void JSONPObject.serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 

Uses of JsonGenerator in org.codehaus.jackson.node
 

Methods in org.codehaus.jackson.node with parameters of type JsonGenerator
 void TextNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void POJONode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void ObjectNode.serialize(JsonGenerator jg, SerializerProvider provider)
          Method that can be called to serialize this node and all of its descendants using specified JSON generator.
 void NullNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void MissingNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void LongNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void IntNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void DoubleNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void DecimalNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void BooleanNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void BinaryNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void BigIntegerNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
abstract  void BaseJsonNode.serialize(JsonGenerator jgen, SerializerProvider provider)
          Method called to serialize node instances using given generator.
 void ArrayNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void BaseJsonNode.serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
          Since JSON node typing is only based on JSON values, there is no need to include type information.
 void BaseJsonNode.writeTo(JsonGenerator jgen)
           Note: this method is deprecated, given that we want to use the standard serialization interface.
 

Uses of JsonGenerator in org.codehaus.jackson.smile
 

Subclasses of JsonGenerator in org.codehaus.jackson.smile
 class SmileGenerator
          JsonGenerator implementation for the experimental "Binary JSON Infoset".
 

Methods in org.codehaus.jackson.smile that return JsonGenerator
protected  JsonGenerator SmileFactory._createJsonGenerator(Writer out, IOContext ctxt)
          Overridable factory method that actually instantiates desired generator.
 JsonGenerator SmileGenerator.setPrettyPrinter(PrettyPrinter pp)
          No way (or need) to indent anything, so let's block any attempts.
 JsonGenerator SmileGenerator.useDefaultPrettyPrinter()
          No way (or need) to indent anything, so let's block any attempts.
 

Uses of JsonGenerator in org.codehaus.jackson.util
 

Subclasses of JsonGenerator in org.codehaus.jackson.util
 class JsonGeneratorDelegate
           
 class TokenBuffer
          Utility class used for efficient storage of JsonToken sequences, needed for temporary buffering.
 

Fields in org.codehaus.jackson.util declared as JsonGenerator
protected  JsonGenerator JsonGeneratorDelegate.delegate
          Delegate object that method calls are delegated to.
 

Methods in org.codehaus.jackson.util that return JsonGenerator
 JsonGenerator TokenBuffer.disable(JsonGenerator.Feature f)
           
 JsonGenerator JsonGeneratorDelegate.disable(JsonGenerator.Feature f)
           
 JsonGenerator TokenBuffer.enable(JsonGenerator.Feature f)
           
 JsonGenerator JsonGeneratorDelegate.enable(JsonGenerator.Feature f)
           
 JsonGenerator TokenBuffer.setCodec(ObjectCodec oc)
           
 JsonGenerator JsonGeneratorDelegate.setCodec(ObjectCodec oc)
           
 JsonGenerator TokenBuffer.useDefaultPrettyPrinter()
           
 JsonGenerator JsonGeneratorDelegate.useDefaultPrettyPrinter()
           
 

Methods in org.codehaus.jackson.util with parameters of type JsonGenerator
 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 MinimalPrettyPrinter.writeEndArray(JsonGenerator jg, int nrOfValues)
           
 void DefaultPrettyPrinter.writeEndArray(JsonGenerator jg, int nrOfValues)
           
 void MinimalPrettyPrinter.writeEndObject(JsonGenerator jg, int nrOfEntries)
           
 void DefaultPrettyPrinter.writeEndObject(JsonGenerator jg, int nrOfEntries)
           
 void DefaultPrettyPrinter.NopIndenter.writeIndentation(JsonGenerator jg, int level)
           
 void DefaultPrettyPrinter.FixedSpaceIndenter.writeIndentation(JsonGenerator jg, int level)
           
 void DefaultPrettyPrinter.Lf2SpacesIndenter.writeIndentation(JsonGenerator jg, int level)
           
 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 MinimalPrettyPrinter.writeRootValueSeparator(JsonGenerator jg)
           
 void DefaultPrettyPrinter.writeRootValueSeparator(JsonGenerator jg)
           
 void MinimalPrettyPrinter.writeStartArray(JsonGenerator jg)
           
 void DefaultPrettyPrinter.writeStartArray(JsonGenerator jg)
           
 void MinimalPrettyPrinter.writeStartObject(JsonGenerator jg)
           
 void DefaultPrettyPrinter.writeStartObject(JsonGenerator jg)
           
 

Constructors in org.codehaus.jackson.util with parameters of type JsonGenerator
JsonGeneratorDelegate(JsonGenerator d)
           
 

Uses of JsonGenerator in org.codehaus.jackson.xc
 

Methods in org.codehaus.jackson.xc with parameters of type JsonGenerator
 void DataHandlerJsonSerializer.serialize(DataHandler value, JsonGenerator jgen, SerializerProvider provider)
           
 void DomElementJsonSerializer.serialize(Element value, JsonGenerator jgen, SerializerProvider provider)
           
 void XmlAdapterJsonSerializer.serialize(Object value, JsonGenerator jgen, SerializerProvider provider)