public static interface JsonReader.ClassFactory
Modifier and Type | Method and Description |
---|---|
default boolean |
isObjectFinal() |
default Object |
newInstance(Class<?> c,
JsonObject jObj)
Implement this method to return a new instance of the passed in Class.
|
default Object newInstance(Class<?> c, JsonObject jObj)
c
- Class of the object that needs to be createdjObj
- JsonObject (if primitive type do jObj.getPrimitiveValue();default boolean isObjectFinal()
Copyright © 2023. All rights reserved.