JSON
Version 1.0

Uses of Class
org.codehaus.jackson.JsonGenerator

Packages that use JsonGenerator
org.codehaus.jackson   
org.codehaus.jackson.impl   
org.codehaus.jackson.map   
org.codehaus.jackson.map.impl   
 

Uses of JsonGenerator in org.codehaus.jackson
 

Methods in org.codehaus.jackson that return JsonGenerator
 JsonGenerator JsonFactory.createJsonGenerator(File f, JsonFactory.Encoding enc)
           
 JsonGenerator JsonFactory.createJsonGenerator(OutputStream out, JsonFactory.Encoding enc)
           
 JsonGenerator JsonFactory.createJsonGenerator(Writer out)
           
 

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.
 

Uses of JsonGenerator in org.codehaus.jackson.impl
 

Subclasses of JsonGenerator in org.codehaus.jackson.impl
 class JsonGeneratorBase
          This base class defines API that a JSON generator exposes to applications, as well as internal API that sub-classes have to implement.
 class WriterBasedGenerator
           
 

Methods in org.codehaus.jackson.impl with parameters of type JsonGenerator
 void DefaultPrettyPrinter.beforeArrayValues(JsonGenerator jg)
           
 void DefaultPrettyPrinter.beforeObjectEntries(JsonGenerator jg)
           
 void DefaultPrettyPrinter.writeArrayValueSeparator(JsonGenerator jg)
          Method called after an array value has been completely output, and before another value is to be output.
 void DefaultPrettyPrinter.writeEndArray(JsonGenerator jg, int nrOfValues)
           
 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 Indenter.writeIndentation(JsonGenerator jg, int level)
           
 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 DefaultPrettyPrinter.writeObjectFieldValueSeparator(JsonGenerator jg)
          Method called after an object field has been output, but before the value is output.
 void DefaultPrettyPrinter.writeRootValueSeparator(JsonGenerator jg)
           
 void DefaultPrettyPrinter.writeStartArray(JsonGenerator jg)
           
 void DefaultPrettyPrinter.writeStartObject(JsonGenerator jg)
           
 

Uses of JsonGenerator in org.codehaus.jackson.map
 

Methods in org.codehaus.jackson.map that return JsonGenerator
 JsonGenerator JavaTypeMapper.createParserFor(List<Object> context)
          Method that will create a JSON generator that will build Java objects as members of the current list, appending them at the end of the list.
 

Methods in org.codehaus.jackson.map with parameters of type JsonGenerator
 void JavaTypeMapper.write(JsonGenerator jg, Collection<Object> value)
           Note: method will explicitly call flush on underlying generator.
 void JavaTypeMapper.write(JsonGenerator jg, Map<Object,Object> value)
           Note: the reason for using untyped map (instead of one with key type of String) is to allow things like Enums as keys -- anything convertible to String will be ok for us.
 void JavaTypeMapper.write(JsonGenerator jg, Object[] value)
           Note: method will explicitly call flush on underlying generator.
 boolean JavaTypeMapper.writeAny(JavaTypeSerializer defaultSerializer, JsonGenerator jgen, Object value)
          Implementation of the generic write method required by JavaTypeSerializer.
 boolean JavaTypeSerializer.writeAny(JavaTypeSerializer defaultSerializer, JsonGenerator jgen, Object value)
          Method that can be called to ask implementation to serialize a given value of unknown type.
 void JavaTypeMapper.writeAny(JsonGenerator jg, Object value)
           Note: method will explicitly call flush on underlying generator.
abstract  void JsonNode.writeTo(JsonGenerator jg)
          Method that can be called to serialize this node and all of its descendants using specified JSON generator.
 boolean JavaTypeMapper.writeValue(JavaTypeSerializer defaultSerializer, JsonGenerator jgen, Collection<Object> values)
          Implementation of the typed list/array write method required by JavaTypeSerializer.
 boolean JavaTypeSerializer.writeValue(JavaTypeSerializer defaultSerializer, JsonGenerator jgen, Collection<Object> value)
           
 boolean JavaTypeMapper.writeValue(JavaTypeSerializer defaultSerializer, JsonGenerator jgen, Map<Object,Object> value)
          Implementation of the typed map/object write method required by JavaTypeSerializer.
 boolean JavaTypeSerializer.writeValue(JavaTypeSerializer defaultSerializer, JsonGenerator jgen, Map<Object,Object> value)
           
 boolean JavaTypeMapper.writeValue(JavaTypeSerializer defaultSerializer, JsonGenerator jgen, Object[] values)
          Implementation of the typed list/array write method required by JavaTypeSerializer.
 boolean JavaTypeSerializer.writeValue(JavaTypeSerializer defaultSerializer, JsonGenerator jgen, Object[] value)
           
 

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

Methods in org.codehaus.jackson.map.impl with parameters of type JsonGenerator
 void ArrayNode.writeTo(JsonGenerator jg)
           
 void BooleanNode.writeTo(JsonGenerator jg)
           
 void DecimalNode.writeTo(JsonGenerator jg)
           
 void DoubleNode.writeTo(JsonGenerator jg)
           
 void IntNode.writeTo(JsonGenerator jg)
           
 void LongNode.writeTo(JsonGenerator jg)
           
 void MissingNode.writeTo(JsonGenerator jg)
           
 void NullNode.writeTo(JsonGenerator jg)
           
 void ObjectNode.writeTo(JsonGenerator jg)
           
 void TextNode.writeTo(JsonGenerator jg)
           
 


JSON
Version 1.0

Apache License, Version 2.0