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.ClassFactory f)
For difficult to instantiate classes, you can add your own ClassFactory
which will be called when the passed in class 'c' is encountered.
|
Copyright © 2015. All rights reserved.