public class MapReadHandler extends JsonReadHandler
m_reader| Constructor and Description |
|---|
MapReadHandler(JsonReader reader) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(ca.uqac.lif.json.JsonElement o)
Indicates whether this handler can take care of reading a particular
object.
|
java.util.Map<?,?> |
handle(ca.uqac.lif.json.JsonElement o)
Reads an object
|
public MapReadHandler(JsonReader reader)
public boolean canHandle(ca.uqac.lif.json.JsonElement o)
throws ReadException
ReadHandlero - The serialized version of the objectReadException - The internal object printerpublic java.util.Map<?,?> handle(ca.uqac.lif.json.JsonElement o)
throws ReadException
ReadHandlero - The serialized version of the objectReadException - Thrown if the object cannot be readCopyright © Sylvain HallĂ©. All Rights Reserved.