Package | Description |
---|---|
com.google.gson |
This package provides the
Gson class to convert Json to Java and
vice-versa. |
Modifier and Type | Method | Description |
---|---|---|
static LongSerializationPolicy |
LongSerializationPolicy.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static LongSerializationPolicy[] |
LongSerializationPolicy.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
GsonBuilder |
GsonBuilder.setLongSerializationPolicy(LongSerializationPolicy serializationPolicy) |
Configures Gson to apply a specific serialization policy for
Long and long
objects. |
Copyright © 2018. All rights reserved.