public class UntypedMapDeserializer
extends java.lang.Object
Map<String, Object>
.Constructor and Description |
---|
UntypedMapDeserializer()
Default deserializer for the untyped map.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
deserialize(com.google.gson.JsonObject jsonObject)
Deserialize JSON into untyped map.
|
public UntypedMapDeserializer()
public java.util.Map<java.lang.String,java.lang.Object> deserialize(com.google.gson.JsonObject jsonObject)
JsonArray
is represented as List<Object>
.
JsonObject
is represented as Map<String, Object>
. JsonPrimitive
is
represented as String, Number, or Boolean.jsonObject
- JSON to convert into untyped map