Package | Description |
---|---|
com.google.gson |
This package provides the
Gson class to convert Json to Java and
vice-versa. |
com.google.gson.internal.bind |
Modifier and Type | Method and Description |
---|---|
(package private) JsonPrimitive |
JsonPrimitive.deepCopy() |
JsonPrimitive |
JsonElement.getAsJsonPrimitive()
convenience method to get this element as a
JsonPrimitive . |
JsonPrimitive |
JsonObject.getAsJsonPrimitive(java.lang.String memberName)
Convenience method to get the specified member as a JsonPrimitive element.
|
Modifier and Type | Method and Description |
---|---|
private static boolean |
JsonPrimitive.isIntegral(JsonPrimitive primitive)
Returns true if the specified number is an integral type
(Long, Integer, Short, Byte, BigInteger)
|
Modifier and Type | Field and 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.
|