public static interface JsonReader.ClassFactory
Modifier and Type | Method and Description |
---|---|
default void |
gatherRemainingValues(JsonObject jObj,
List<Object> arguments,
Set<String> excludedFields) |
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()
default void gatherRemainingValues(JsonObject jObj, List<Object> arguments, Set<String> excludedFields)
Copyright © 2023. All rights reserved.