Uses of Class
com.google.gson.JsonPrimitive
-
Packages that use JsonPrimitive Package Description com.google.gson This package provides theGson
class to convert Json to Java and vice-versa.com.google.gson.internal.bind -
-
Uses of JsonPrimitive in com.google.gson
Methods in com.google.gson that return JsonPrimitive Modifier and Type Method Description JsonPrimitive
JsonPrimitive. deepCopy()
Returns the same value as primitives are immutable.JsonPrimitive
JsonElement. getAsJsonPrimitive()
convenience method to get this element as aJsonPrimitive
.JsonPrimitive
JsonObject. getAsJsonPrimitive(java.lang.String memberName)
Convenience method to get the specified member as a JsonPrimitive element.Methods in com.google.gson with parameters of type JsonPrimitive Modifier and Type Method Description private static boolean
JsonPrimitive. isIntegral(JsonPrimitive primitive)
Returns true if the specified number is an integral type (Long, Integer, Short, Byte, BigInteger) -
Uses of JsonPrimitive in com.google.gson.internal.bind
Fields in com.google.gson.internal.bind declared as JsonPrimitive Modifier and Type Field Description private static JsonPrimitive
JsonTreeWriter. SENTINEL_CLOSED
Added to the top of the stack when this writer is closed to cause following ops to fail.
-