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 jObj,
ReaderContext context)
Implement this method to return a new instance of the passed in Class.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
gatherRemainingValues, isObjectFinal, newInstance
public Object newInstance(Class<?> c, JsonObject jObj, ReaderContext context)
JsonReader.ClassFactory
newInstance
in interface JsonReader.ClassFactory
c
- Map interface that was requested for instantiation.jObj
- JsonObjectcontext
- ReaderContextCopyright © 2023. All rights reserved.