-
Constructor Summary
Constructors
| Constructor |
Description |
BaseModel() |
|
-
Method Summary
| Modifier and Type |
Method |
Description |
static <T extends BaseModel> T |
load(com.fasterxml.jackson.databind.JsonNode json,
Class<T> clazz) |
Load the json node to object of class type T.
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BaseModel
public BaseModel()
-
Method Details
-
load
public static <T extends BaseModel> T load(
com.fasterxml.jackson.databind.JsonNode json,
Class<T> clazz)
Load the json node to object of class type T.
- Parameters:
json - JSON Node object.
clazz - Class type of the intended targeted class/