Uses of Class
com.google.gson.JsonPrimitive
Packages that use JsonPrimitive
-
Uses of JsonPrimitive in com.google.gson
Methods in com.google.gson that return JsonPrimitiveModifier and TypeMethodDescriptionJsonPrimitive.deepCopy()Returns the same value as primitives are immutable.JsonElement.getAsJsonPrimitive()convenience method to get this element as aJsonPrimitive.JsonObject.getAsJsonPrimitive(String memberName) Convenience method to get the specified member as a JsonPrimitive element.Methods in com.google.gson with parameters of type JsonPrimitiveModifier and TypeMethodDescriptionprivate static booleanJsonPrimitive.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 JsonPrimitiveModifier and TypeFieldDescriptionprivate static final JsonPrimitiveJsonTreeWriter.SENTINEL_CLOSEDAdded to the top of the stack when this writer is closed to cause following ops to fail.