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