Uses of Class
com.google.gson.GsonBuilder

Packages that use GsonBuilder
com.google.gson This package provides the Gson class to convert Json to Java and vice-versa. 
 

Uses of GsonBuilder in com.google.gson
 

Methods in com.google.gson that return GsonBuilder
 GsonBuilder GsonBuilder.disableHtmlEscaping()
          By default, Gson escapes HTML characters such as < > etc.
 GsonBuilder GsonBuilder.disableInnerClassSerialization()
          Configures Gson to exclude inner classes during serialization.
 GsonBuilder GsonBuilder.excludeFieldsWithModifiers(int... modifiers)
          Configures Gson to excludes all class fields that have the specified modifiers.
 GsonBuilder GsonBuilder.excludeFieldsWithoutExposeAnnotation()
          Configures Gson to exclude all fields from consideration for serialization or deserialization that do not have the Expose annotation.
 GsonBuilder GsonBuilder.generateNonExecutableJson()
          Makes the output JSON non-executable in Javascript by prefixing the generated JSON with some special text.
 GsonBuilder GsonBuilder.registerTypeAdapter(Type type, Object typeAdapter)
          Configures Gson for custom serialization or deserialization.
 GsonBuilder GsonBuilder.serializeNulls()
          Configure Gson to serialize null fields.
 GsonBuilder GsonBuilder.serializeSpecialFloatingPointValues()
          Section 2.4 of JSON specification disallows special double values (NaN, Infinity, -Infinity).
 GsonBuilder GsonBuilder.setDateFormat(int style)
          Configures Gson to to serialize Date objects according to the style value provided.
 GsonBuilder GsonBuilder.setDateFormat(int dateStyle, int timeStyle)
          Configures Gson to to serialize Date objects according to the style value provided.
 GsonBuilder GsonBuilder.setDateFormat(String pattern)
          Configures Gson to serialize Date objects according to the pattern provided.
 GsonBuilder GsonBuilder.setExclusionStrategies(ExclusionStrategy... strategies)
          Configures Gson to apply a set of exclusion strategies during both serialization and deserialization.
 GsonBuilder GsonBuilder.setFieldNamingPolicy(FieldNamingPolicy namingConvention)
          Configures Gson to apply a specific naming policy to an object's field during serialization and deserialization.
 GsonBuilder GsonBuilder.setFieldNamingStrategy(FieldNamingStrategy fieldNamingStrategy)
          Configures Gson to apply a specific naming policy strategy to an object's field during serialization and deserialization.
 GsonBuilder GsonBuilder.setLongSerializationPolicy(LongSerializationPolicy serializationPolicy)
          Configures Gson to apply a specific serialization policy for Long and long objects.
 GsonBuilder GsonBuilder.setPrettyPrinting()
          Configures Gson to output Json that fits in a page for pretty printing.
 GsonBuilder GsonBuilder.setVersion(double ignoreVersionsAfter)
          Configures Gson to enable versioning support.
 



Copyright © 2008-2010. All Rights Reserved.