Package | Description |
---|---|
com.google.gson |
This package provides the
Gson class to convert Json to Java and
vice-versa. |
Modifier and Type | Method | Description |
---|---|---|
GsonBuilder |
GsonBuilder.addDeserializationExclusionStrategy(ExclusionStrategy strategy) |
Configures Gson to apply the passed in exclusion strategy during deserialization.
|
GsonBuilder |
GsonBuilder.addSerializationExclusionStrategy(ExclusionStrategy strategy) |
Configures Gson to apply the passed in exclusion strategy during serialization.
|
GsonBuilder |
GsonBuilder.setExclusionStrategies(ExclusionStrategy... strategies) |
Configures Gson to apply a set of exclusion strategies during both serialization and
deserialization.
|
Copyright © 2018. All rights reserved.