public static class JsonReader.MapFactory extends Object implements JsonReader.ClassFactory
| Constructor and Description |
|---|
MapFactory() |
| Modifier and Type | Method and Description |
|---|---|
Object |
newInstance(Class<?> c,
JsonObject job)
Implement this method to return a new instance of the passed in Class.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisObjectFinal, newInstance, newInstance, setTargetpublic Object newInstance(Class<?> c, JsonObject job)
JsonReader.ClassFactorynewInstance in interface JsonReader.ClassFactoryc - Map interface that was requested for instantiation.job - JsonObject (if primitive type do job.getPrimitiveValue();Copyright © 2023. All rights reserved.