Modifier and Type | Interface and Description |
---|---|
static interface |
JsonReader.ClassFactory
Subclass this interface and create a class that will return a new instance of the
passed in Class (c).
|
static interface |
JsonReader.ClassFactoryEx
Subclass this interface and create a class that will return a new instance of the
passed in Class (c).
|
Modifier and Type | Class and Description |
---|---|
static class |
JsonReader.CollectionFactory
Use to create new instances of collection interfaces (needed for empty collections)
|
static class |
JsonReader.MapFactory
Use to create new instances of Map interfaces (needed for empty Maps)
|
Modifier and Type | Method and Description |
---|---|
static void |
JsonReader.assignInstantiator(Class c,
JsonReader.Factory f)
For difficult to instantiate classes, you can add your own ClassFactory
or ClassFactoryEx which will be called when the passed in class 'c' is
encountered.
|
Copyright © 2016. All rights reserved.