Package com.cedarsoftware.io
Interface JsonReader.JsonClassReader
- All Known Implementing Classes:
RecordFactory.RecordReader
- Enclosing class:
- JsonReader
public static interface JsonReader.JsonClassReader
Implement this interface to add a custom JSON reader.
-
Method Summary
-
Method Details
-
read
- Parameters:
jOb
- Object being read. Could be a fundamental JSON type (String, long, boolean, double, null, or JsonObject)stack
- Deque of objects that have been read (Map of Maps view).resolver
-- Returns:
- Java Object you wish to convert the passed in jOb into.
-
read
- Parameters:
jOb
- Object being read. Could be a fundamental JSON type (String, long, boolean, double, null, or JsonObject)stack
- Deque of objects that have been read (Map of Maps view).- Returns:
- Object you wish to convert the jOb value into.
-