Gson is a Java library that can be used to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object. Gson can work with arbitrary Java objects including pre-existing objects that you do not have source-code of..
Gson is hosted in the following web site
https://github.com/partition/Gson
If you think the Android project Gson listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of Gson.
Item | Value |
---|---|
Java File Count | 85 |
Minimum SDK Version | 3 |
Activity Count | 1 |
Required Permissions | android.permission.INTERNET |
Gson has the following Java source files.
com.google.gson.ExclusionStrategy.java com.google.gson.FieldAttributes.java com.google.gson.FieldNamingPolicy.java com.google.gson.FieldNamingStrategy.java com.google.gson.Gson.java com.google.gson.GsonBuilder.java com.google.gson.InstanceCreator.java com.google.gson.JsonArray.java com.google.gson.JsonDeserializationContext.java com.google.gson.JsonDeserializer.java com.google.gson.JsonElement.java com.google.gson.JsonIOException.java com.google.gson.JsonNull.java com.google.gson.JsonObject.java com.google.gson.JsonParseException.java com.google.gson.JsonParser.java com.google.gson.JsonPrimitive.java com.google.gson.JsonSerializationContext.java com.google.gson.JsonSerializer.java com.google.gson.JsonStreamParser.java com.google.gson.JsonSyntaxException.java com.google.gson.TypeAdapter.java com.google.gson.TypeAdapterFactory.java com.google.gson.annotations.Expose.java com.google.gson.annotations.JsonAdapter.java com.google.gson.annotations.SerializedName.java com.google.gson.annotations.Since.java com.google.gson.annotations.Until.java com.google.gson.codegen.CodeGen.java com.google.gson.codegen.GeneratedTypeAdapter.java com.google.gson.codegen.GeneratedTypeAdapterProcessor.java com.google.gson.codegen.JavaWriter.java com.google.gson.examples.android.GsonProguardExampleActivity.java com.google.gson.examples.android.model.Cart.java com.google.gson.examples.android.model.LineItem.java com.google.gson.extras.examples.rawcollections.RawCollectionsExample.java com.google.gson.graph.GraphAdapterBuilder.java com.google.gson.interceptors.Intercept.java com.google.gson.interceptors.InterceptorFactory.java com.google.gson.interceptors.JsonPostDeserializer.java com.google.gson.internal.$Gson$Preconditions.java com.google.gson.internal.$Gson$Types.java com.google.gson.internal.ConstructorConstructor.java com.google.gson.internal.Excluder.java com.google.gson.internal.JsonReaderInternalAccess.java com.google.gson.internal.LazilyParsedNumber.java com.google.gson.internal.LinkedHashTreeMap.java com.google.gson.internal.LinkedTreeMap.java com.google.gson.internal.ObjectConstructor.java com.google.gson.internal.Primitives.java com.google.gson.internal.Streams.java com.google.gson.internal.UnsafeAllocator.java com.google.gson.internal.bind.ArrayTypeAdapter.java com.google.gson.internal.bind.CollectionTypeAdapterFactory.java com.google.gson.internal.bind.DateTypeAdapter.java com.google.gson.internal.bind.JsonAdapterAnnotationTypeAdapterFactory.java com.google.gson.internal.bind.JsonTreeReader.java com.google.gson.internal.bind.JsonTreeWriter.java com.google.gson.internal.bind.MapTypeAdapterFactory.java com.google.gson.internal.bind.ObjectTypeAdapter.java com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.java com.google.gson.internal.bind.SqlDateTypeAdapter.java com.google.gson.internal.bind.TimeTypeAdapter.java com.google.gson.internal.bind.TypeAdapters.java com.google.gson.metrics.BagOfPrimitives.java com.google.gson.metrics.BagOfPrimitivesDeserializationBenchmark.java com.google.gson.metrics.CollectionsDeserializationBenchmark.java com.google.gson.metrics.ParseBenchmark.java com.google.gson.metrics.SerializationBenchmark.java com.google.gson.protobuf.ProtoTypeAdapter.java com.google.gson.reflect.TypeToken.java com.google.gson.stream.JsonReader.java com.google.gson.stream.JsonWriter.java com.google.gson.stream.MalformedJsonException.java com.google.gson.typeadapters.RuntimeTypeAdapterFactory.java