Dependencies
Declarations
-
com
-
google
-
gson
-
DefaultDateTypeAdapter
- SIMPLE_NAME: String
- dateType: Class<Date>
- dateFormats: List<DateFormat>
- DefaultDateTypeAdapter(Class<Date>): void
- DefaultDateTypeAdapter(Class<Date>, String): void
- DefaultDateTypeAdapter(Class<Date>, int): void
- DefaultDateTypeAdapter(int, int): void
- DefaultDateTypeAdapter(Class<Date>, int, int): void
- verifyDateType(Class<Date>): Class<Date>
- write(JsonWriter, Date): void
- read(JsonReader): Date
- deserializeToDate(String): Date
- toString(): String
- ExclusionStrategy
-
FieldAttributes
- field: Field
- FieldAttributes(Field): void
- getDeclaringClass(): Class<Object>
- getName(): String
- getDeclaredType(): Type
- getDeclaredClass(): Class<Object>
- getAnnotation(Class<Annotation>): Annotation
- getAnnotations(): Collection<Annotation>
- hasModifier(int): boolean
- get(Object): Object
- isSynthetic(): boolean
-
FieldNamingPolicy
- IDENTITY: FieldNamingPolicy
- UPPER_CAMEL_CASE: FieldNamingPolicy
- UPPER_CAMEL_CASE_WITH_SPACES: FieldNamingPolicy
- LOWER_CASE_WITH_UNDERSCORES: FieldNamingPolicy
- LOWER_CASE_WITH_DASHES: FieldNamingPolicy
- LOWER_CASE_WITH_DOTS: FieldNamingPolicy
- separateCamelCase(String, String): String
- upperCaseFirstLetter(String): String
- modifyString(char, String, int): String
- FieldNamingStrategy
-
Gson
- DEFAULT_JSON_NON_EXECUTABLE: boolean
- DEFAULT_LENIENT: boolean
- DEFAULT_PRETTY_PRINT: boolean
- DEFAULT_ESCAPE_HTML: boolean
- DEFAULT_SERIALIZE_NULLS: boolean
- DEFAULT_COMPLEX_MAP_KEYS: boolean
- DEFAULT_SPECIALIZE_FLOAT_VALUES: boolean
- NULL_KEY_SURROGATE: TypeToken<Object>
- JSON_NON_EXECUTABLE_PREFIX: String
- calls: ThreadLocal<Map<TypeToken<Object>, FutureTypeAdapter<Object>>>
- typeTokenCache: Map<TypeToken<Object>, TypeAdapter<Object>>
- constructorConstructor: ConstructorConstructor
- jsonAdapterFactory: JsonAdapterAnnotationTypeAdapterFactory
- factories: List<TypeAdapterFactory>
- excluder: Excluder
- fieldNamingStrategy: FieldNamingStrategy
- instanceCreators: Map<Type, InstanceCreator<Object>>
- serializeNulls: boolean
- complexMapKeySerialization: boolean
- generateNonExecutableJson: boolean
- htmlSafe: boolean
- prettyPrinting: boolean
- lenient: boolean
- serializeSpecialFloatingPointValues: boolean
- datePattern: String
- dateStyle: int
- timeStyle: int
- longSerializationPolicy: LongSerializationPolicy
- builderFactories: List<TypeAdapterFactory>
- builderHierarchyFactories: List<TypeAdapterFactory>
- Gson(): void
- toJsonTree(Object, Type): JsonElement
- Gson(Excluder, FieldNamingStrategy, Map<Type, InstanceCreator<Object>>, boolean, boolean, boolean, boolean, boolean, boolean, boolean, LongSerializationPolicy, String, int, int, List<TypeAdapterFactory>, List<TypeAdapterFactory>, List<TypeAdapterFactory>): void
- newBuilder(): GsonBuilder
- excluder(): Excluder
- fieldNamingStrategy(): FieldNamingStrategy
- serializeNulls(): boolean
- htmlSafe(): boolean
- doubleAdapter(boolean): TypeAdapter<Number>
- floatAdapter(boolean): TypeAdapter<Number>
- checkValidFloatingPoint(double): void
- longAdapter(LongSerializationPolicy): TypeAdapter<Number>
- atomicLongAdapter(TypeAdapter<Number>): TypeAdapter<AtomicLong>
- atomicLongArrayAdapter(TypeAdapter<Number>): TypeAdapter<AtomicLongArray>
- getAdapter(TypeToken<Object>): TypeAdapter<Object>
- getDelegateAdapter(TypeAdapterFactory, TypeToken<Object>): TypeAdapter<Object>
- getAdapter(Class<Object>): TypeAdapter<Object>
- toJsonTree(Object): JsonElement
- toJson(Object): String
- toJson(Object, Type): String
- toJson(Object, Appendable): void
- toJson(Object, Type, Appendable): void
- toJson(Object, Type, JsonWriter): void
- toJson(JsonElement): String
- toJson(JsonElement, Appendable): void
- newJsonWriter(Writer): JsonWriter
- newJsonReader(Reader): JsonReader
- toJson(JsonElement, JsonWriter): void
- fromJson(String, Class<Object>): Object
- fromJson(String, Type): Object
- fromJson(Reader, Class<Object>): Object
- fromJson(Reader, Type): Object
- assertFullConsumption(Object, JsonReader): void
- fromJson(JsonReader, Type): Object
- fromJson(JsonElement, Class<Object>): Object
- fromJson(JsonElement, Type): Object
- FutureTypeAdapter
- toString(): String
-
GsonBuilder
- lenient: boolean
- GsonBuilder(): void
- excluder: Excluder
- longSerializationPolicy: LongSerializationPolicy
- fieldNamingPolicy: FieldNamingStrategy
- instanceCreators: Map<Type, InstanceCreator<Object>>
- factories: List<TypeAdapterFactory>
- hierarchyFactories: List<TypeAdapterFactory>
- serializeNulls: boolean
- datePattern: String
- dateStyle: int
- timeStyle: int
- complexMapKeySerialization: boolean
- serializeSpecialFloatingPointValues: boolean
- escapeHtmlChars: boolean
- prettyPrinting: boolean
- generateNonExecutableJson: boolean
- GsonBuilder(Gson): void
- setVersion(double): GsonBuilder
- excludeFieldsWithModifiers(int[]): GsonBuilder
- generateNonExecutableJson(): GsonBuilder
- excludeFieldsWithoutExposeAnnotation(): GsonBuilder
- serializeNulls(): GsonBuilder
- enableComplexMapKeySerialization(): GsonBuilder
- disableInnerClassSerialization(): GsonBuilder
- setLongSerializationPolicy(LongSerializationPolicy): GsonBuilder
- setFieldNamingPolicy(FieldNamingPolicy): GsonBuilder
- setFieldNamingStrategy(FieldNamingStrategy): GsonBuilder
- setExclusionStrategies(ExclusionStrategy[]): GsonBuilder
- addSerializationExclusionStrategy(ExclusionStrategy): GsonBuilder
- addDeserializationExclusionStrategy(ExclusionStrategy): GsonBuilder
- setPrettyPrinting(): GsonBuilder
- setLenient(): GsonBuilder
- disableHtmlEscaping(): GsonBuilder
- setDateFormat(String): GsonBuilder
- setDateFormat(int): GsonBuilder
- setDateFormat(int, int): GsonBuilder
- registerTypeAdapter(Type, Object): GsonBuilder
- registerTypeAdapterFactory(TypeAdapterFactory): GsonBuilder
- registerTypeHierarchyAdapter(Class<Object>, Object): GsonBuilder
- serializeSpecialFloatingPointValues(): GsonBuilder
- create(): Gson
- addTypeAdaptersForDate(String, int, int, List<TypeAdapterFactory>): void
- InstanceCreator
-
JsonArray
- elements: List<JsonElement>
- JsonArray(): void
- JsonArray(int): void
- deepCopy(): JsonArray
- add(Boolean): void
- add(Character): void
- add(Number): void
- add(String): void
- add(JsonElement): void
- addAll(JsonArray): void
- set(int, JsonElement): JsonElement
- remove(JsonElement): boolean
- remove(int): JsonElement
- contains(JsonElement): boolean
- size(): int
- iterator(): Iterator<JsonElement>
- get(int): JsonElement
- getAsNumber(): Number
- getAsString(): String
- getAsDouble(): double
- getAsBigDecimal(): BigDecimal
- getAsBigInteger(): BigInteger
- getAsFloat(): float
- getAsLong(): long
- getAsInt(): int
- getAsByte(): byte
- getAsCharacter(): char
- getAsShort(): short
- getAsBoolean(): boolean
- equals(Object): boolean
- hashCode(): int
- JsonDeserializationContext
- JsonDeserializer
-
JsonElement
- deepCopy(): JsonElement
- isJsonArray(): boolean
- isJsonObject(): boolean
- isJsonPrimitive(): boolean
- isJsonNull(): boolean
- getAsJsonObject(): JsonObject
- getAsJsonArray(): JsonArray
- getAsJsonPrimitive(): JsonPrimitive
- getAsJsonNull(): JsonNull
- getAsBoolean(): boolean
- getAsBooleanWrapper(): Boolean
- getAsNumber(): Number
- getAsString(): String
- getAsDouble(): double
- getAsFloat(): float
- getAsLong(): long
- getAsInt(): int
- getAsByte(): byte
- getAsCharacter(): char
- getAsBigDecimal(): BigDecimal
- getAsBigInteger(): BigInteger
- getAsShort(): short
- toString(): String
- JsonIOException
- JsonNull
-
JsonObject
- hashCode(): int
- members: LinkedTreeMap<String, JsonElement>
- deepCopy(): JsonObject
- add(String, JsonElement): void
- remove(String): JsonElement
- addProperty(String, String): void
- addProperty(String, Number): void
- addProperty(String, Boolean): void
- addProperty(String, Character): void
- createJsonElement(Object): JsonElement
- entrySet(): Set<Entry<String, JsonElement>>
- keySet(): Set<String>
- size(): int
- has(String): boolean
- get(String): JsonElement
- getAsJsonPrimitive(String): JsonPrimitive
- getAsJsonArray(String): JsonArray
- getAsJsonObject(String): JsonObject
- equals(Object): boolean
- JsonParseException
- JsonParser
-
JsonPrimitive
- PRIMITIVE_TYPES: Class[]
- value: Object
- JsonPrimitive(Boolean): void
- JsonPrimitive(Number): void
- JsonPrimitive(String): void
- JsonPrimitive(Character): void
- JsonPrimitive(Object): void
- deepCopy(): JsonPrimitive
- setValue(Object): void
- isBoolean(): boolean
- getAsBooleanWrapper(): Boolean
- getAsBoolean(): boolean
- isNumber(): boolean
- getAsNumber(): Number
- isString(): boolean
- getAsString(): String
- getAsDouble(): double
- getAsBigDecimal(): BigDecimal
- getAsBigInteger(): BigInteger
- getAsFloat(): float
- getAsLong(): long
- getAsShort(): short
- getAsInt(): int
- getAsByte(): byte
- getAsCharacter(): char
- isPrimitiveOrString(Object): boolean
- hashCode(): int
- equals(Object): boolean
- isIntegral(JsonPrimitive): boolean
- JsonSerializationContext
- JsonSerializer
- JsonStreamParser
- JsonSyntaxException
- LongSerializationPolicy
- TypeAdapter
- TypeAdapterFactory
- annotations
-
internal
- $Gson$Preconditions
-
$Gson$Types
- EMPTY_TYPE_ARRAY: Type[]
- $Gson$Types(): void
- newParameterizedTypeWithOwner(Type, Type, Type[]): ParameterizedType
- arrayOf(Type): GenericArrayType
- subtypeOf(Type): WildcardType
- supertypeOf(Type): WildcardType
- canonicalize(Type): Type
- getRawType(Type): Class<Object>
- equal(Object, Object): boolean
- equals(Type, Type): boolean
- hashCodeOrZero(Object): int
- typeToString(Type): String
- getGenericSupertype(Type, Class<Object>, Class<Object>): Type
- getSupertype(Type, Class<Object>, Class<Object>): Type
- getArrayComponentType(Type): Type
- getCollectionElementType(Type, Class<Object>): Type
- getMapKeyAndValueTypes(Type, Class<Object>): Type[]
- resolve(Type, Class<Object>, Type): Type
- resolve(Type, Class<Object>, Type, Collection<TypeVariable>): Type
- resolveTypeVariable(Type, Class<Object>, TypeVariable<GenericDeclaration>): Type
- indexOf(Object[], Object): int
- declaringClassOf(TypeVariable<GenericDeclaration>): Class<Object>
- checkNotPrimitive(Type): void
- ParameterizedTypeImpl
- GenericArrayTypeImpl
- WildcardTypeImpl
-
ConstructorConstructor
- instanceCreators: Map<Type, InstanceCreator<Object>>
- accessor: ReflectionAccessor
- ConstructorConstructor(Map<Type, InstanceCreator<Object>>): void
- get(TypeToken<Object>): ObjectConstructor<Object>
- newDefaultConstructor(Class<Object>): ObjectConstructor<Object>
- newDefaultImplementationConstructor(Type, Class<Object>): ObjectConstructor<Object>
- newUnsafeAllocator(Type, Class<Object>): ObjectConstructor<Object>
- toString(): String
-
Excluder
- IGNORE_VERSIONS: double
- DEFAULT: Excluder
- version: double
- modifiers: int
- serializeInnerClasses: boolean
- requireExpose: boolean
- serializationStrategies: List<ExclusionStrategy>
- clone(): Excluder
- deserializationStrategies: List<ExclusionStrategy>
- withVersion(double): Excluder
- withModifiers(int[]): Excluder
- disableInnerClassSerialization(): Excluder
- excludeFieldsWithoutExposeAnnotation(): Excluder
- withExclusionStrategy(ExclusionStrategy, boolean, boolean): Excluder
- create(Gson, TypeToken<Object>): TypeAdapter<Object>
- excludeField(Field, boolean): boolean
- excludeClassChecks(Class<Object>): boolean
- excludeClass(Class<Object>, boolean): boolean
- excludeClassInStrategy(Class<Object>, boolean): boolean
- isAnonymousOrLocal(Class<Object>): boolean
- isInnerClass(Class<Object>): boolean
- isStatic(Class<Object>): boolean
- isValidVersion(Since, Until): boolean
- isValidSince(Since): boolean
- isValidUntil(Until): boolean
- GsonBuildConfig
- JavaVersion
- JsonReaderInternalAccess
- LazilyParsedNumber
-
LinkedHashTreeMap
- NATURAL_ORDER: Comparator<Comparable>
- comparator: Comparator<Object>
- table: Node[]
- header: Node<Object, Object>
- size: int
- modCount: int
- threshold: int
- LinkedHashTreeMap(): void
- LinkedHashTreeMap(Comparator<Object>): void
- size(): int
- get(Object): Object
- containsKey(Object): boolean
- put(Object, Object): Object
- clear(): void
- remove(Object): Object
- find(Object, boolean): Node<Object, Object>
- findByObject(Object): Node<Object, Object>
- findByEntry(Entry<Object, Object>): Node<Object, Object>
- equal(Object, Object): boolean
- secondaryHash(int): int
- removeInternal(Node<Object, Object>, boolean): void
- removeInternalByKey(Object): Node<Object, Object>
- replaceInParent(Node<Object, Object>, Node<Object, Object>): void
- rebalance(Node<Object, Object>, boolean): void
- rotateLeft(Node<Object, Object>): void
- rotateRight(Node<Object, Object>): void
- entrySet: EntrySet
- keySet: KeySet
- entrySet(): Set<Entry<Object, Object>>
- keySet(): Set<Object>
- Node
- doubleCapacity(): void
- doubleCapacity(Node[]): Node[]
- AvlIterator
- AvlBuilder
- LinkedTreeMapIterator
- EntrySet
- KeySet
- writeReplace(): Object
-
LinkedTreeMap
- NATURAL_ORDER: Comparator<Comparable>
- comparator: Comparator<Object>
- root: Node<Object, Object>
- size: int
- modCount: int
- header: Node<Object, Object>
- LinkedTreeMap(): void
- LinkedTreeMap(Comparator<Object>): void
- size(): int
- get(Object): Object
- containsKey(Object): boolean
- put(Object, Object): Object
- clear(): void
- remove(Object): Object
- find(Object, boolean): Node<Object, Object>
- findByObject(Object): Node<Object, Object>
- findByEntry(Entry<Object, Object>): Node<Object, Object>
- equal(Object, Object): boolean
- removeInternal(Node<Object, Object>, boolean): void
- removeInternalByKey(Object): Node<Object, Object>
- replaceInParent(Node<Object, Object>, Node<Object, Object>): void
- rebalance(Node<Object, Object>, boolean): void
- rotateLeft(Node<Object, Object>): void
- rotateRight(Node<Object, Object>): void
- entrySet: EntrySet
- keySet: KeySet
- entrySet(): Set<Entry<Object, Object>>
- keySet(): Set<Object>
- Node
- LinkedTreeMapIterator
- EntrySet
- KeySet
- writeReplace(): Object
- ObjectConstructor
- PreJava9DateFormatProvider
-
Primitives
- Primitives(): void
- PRIMITIVE_TO_WRAPPER_TYPE: Map<Class<Object>, Class<Object>>
- WRAPPER_TO_PRIMITIVE_TYPE: Map<Class<Object>, Class<Object>>
- static class initializer
- add(Map<Class<Object>, Class<Object>>, Map<Class<Object>, Class<Object>>, Class<Object>, Class<Object>): void
- isPrimitive(Type): boolean
- isWrapperType(Type): boolean
- wrap(Class<Object>): Class<Object>
- unwrap(Class<Object>): Class<Object>
- Streams
- UnsafeAllocator
- bind
- reflect
-
reflect
-
TypeToken
- rawType: Class<Object>
- type: Type
- hashCode: int
- TypeToken(): void
- TypeToken(Type): void
- getSuperclassTypeParameter(Class<Object>): Type
- getRawType(): Class<Object>
- getType(): Type
- isAssignableFrom(Class<Object>): boolean
- isAssignableFrom(Type): boolean
- isAssignableFrom(TypeToken<Object>): boolean
- isAssignableFrom(Type, GenericArrayType): boolean
- isAssignableFrom(Type, ParameterizedType, Map<String, Type>): boolean
- typeEquals(ParameterizedType, ParameterizedType, Map<String, Type>): boolean
- buildUnexpectedTypeError(Type, Class[]): AssertionError
- matches(Type, Type, Map<String, Type>): boolean
- hashCode(): int
- equals(Object): boolean
- toString(): String
- get(Type): TypeToken<Object>
- get(Class<Object>): TypeToken<Object>
- getParameterized(Type, Type[]): TypeToken<Object>
- getArray(Type): TypeToken<Object>
-
TypeToken
-
stream
-
JsonReader
- NON_EXECUTE_PREFIX: char[]
- MIN_INCOMPLETE_INTEGER: long
- PEEKED_NONE: int
- PEEKED_BEGIN_OBJECT: int
- PEEKED_END_OBJECT: int
- PEEKED_BEGIN_ARRAY: int
- PEEKED_END_ARRAY: int
- PEEKED_TRUE: int
- PEEKED_FALSE: int
- PEEKED_NULL: int
- PEEKED_SINGLE_QUOTED: int
- PEEKED_DOUBLE_QUOTED: int
- PEEKED_UNQUOTED: int
- PEEKED_BUFFERED: int
- PEEKED_SINGLE_QUOTED_NAME: int
- PEEKED_DOUBLE_QUOTED_NAME: int
- PEEKED_UNQUOTED_NAME: int
- PEEKED_LONG: int
- PEEKED_NUMBER: int
- PEEKED_EOF: int
- NUMBER_CHAR_NONE: int
- NUMBER_CHAR_SIGN: int
- NUMBER_CHAR_DIGIT: int
- NUMBER_CHAR_DECIMAL: int
- NUMBER_CHAR_FRACTION_DIGIT: int
- NUMBER_CHAR_EXP_E: int
- NUMBER_CHAR_EXP_SIGN: int
- NUMBER_CHAR_EXP_DIGIT: int
- in: Reader
- lenient: boolean
- buffer: char[]
- pos: int
- limit: int
- lineNumber: int
- lineStart: int
- peeked: int
- peekedLong: long
- peekedNumberLength: int
- peekedString: String
- stack: int[]
- stackSize: int
- class initializer
- pathNames: String[]
- pathIndices: int[]
- JsonReader(Reader): void
- setLenient(boolean): void
- isLenient(): boolean
- beginArray(): void
- endArray(): void
- beginObject(): void
- endObject(): void
- hasNext(): boolean
- peek(): JsonToken
- doPeek(): int
- peekKeyword(): int
- peekNumber(): int
- isLiteral(char): boolean
- nextName(): String
- nextString(): String
- nextBoolean(): boolean
- nextNull(): void
- nextDouble(): double
- nextLong(): long
- nextQuotedValue(char): String
- nextUnquotedValue(): String
- skipQuotedValue(char): void
- skipUnquotedValue(): void
- nextInt(): int
- close(): void
- skipValue(): void
- push(int): void
- fillBuffer(int): boolean
- nextNonWhitespace(boolean): int
- checkLenient(): void
- skipToEndOfLine(): void
- skipTo(String): boolean
- toString(): String
- locationString(): String
- getPath(): String
- readEscapeCharacter(): char
- syntaxError(String): IOException
- consumeNonExecutePrefix(): void
- static class initializer
- $1
- JsonScope
- JsonToken
-
JsonWriter
- REPLACEMENT_CHARS: String[]
- HTML_SAFE_REPLACEMENT_CHARS: String[]
- static class initializer
- out: Writer
- stack: int[]
- stackSize: int
- class initializer
- indent: String
- separator: String
- lenient: boolean
- htmlSafe: boolean
- deferredName: String
- serializeNulls: boolean
- JsonWriter(Writer): void
- setIndent(String): void
- setLenient(boolean): void
- isLenient(): boolean
- setHtmlSafe(boolean): void
- isHtmlSafe(): boolean
- setSerializeNulls(boolean): void
- getSerializeNulls(): boolean
- beginArray(): JsonWriter
- endArray(): JsonWriter
- beginObject(): JsonWriter
- endObject(): JsonWriter
- open(int, String): JsonWriter
- close(int, int, String): JsonWriter
- push(int): void
- peek(): int
- replaceTop(int): void
- name(String): JsonWriter
- writeDeferredName(): void
- value(String): JsonWriter
- jsonValue(String): JsonWriter
- nullValue(): JsonWriter
- value(boolean): JsonWriter
- value(Boolean): JsonWriter
- value(double): JsonWriter
- value(long): JsonWriter
- value(Number): JsonWriter
- flush(): void
- close(): void
- string(String): void
- newline(): void
- beforeName(): void
- beforeValue(): void
- MalformedJsonException
-
JsonReader
-
DefaultDateTypeAdapter
-
gson
-
google