Uses of Interface
com.google.gson.ToNumberStrategy
-
Packages that use ToNumberStrategy Package Description com.google.gson This package provides theGson
class to convert Json to Java and vice-versa. -
-
Uses of ToNumberStrategy in com.google.gson
Classes in com.google.gson that implement ToNumberStrategy Modifier and Type Class Description class
ToNumberPolicy
An enumeration that defines two standard number reading strategies and a couple of strategies to overcome some historical Gson limitations while deserializing numbers asObject
andNumber
.Methods in com.google.gson with parameters of type ToNumberStrategy Modifier and Type Method Description GsonBuilder
GsonBuilder. setNumberToNumberStrategy(ToNumberStrategy numberToNumberStrategy)
Configures Gson to apply a specific number strategy during deserialization ofNumber
.GsonBuilder
GsonBuilder. setObjectToNumberStrategy(ToNumberStrategy objectToNumberStrategy)
Configures Gson to apply a specific number strategy during deserialization ofObject
.
-