Package | Description |
---|---|
net.sf.json |
The core of the library
|
net.sf.json.util |
Miscelaneous utilities
|
Modifier and Type | Field | Description |
---|---|---|
static NewBeanInstanceStrategy |
JsonConfig.DEFAULT_NEW_BEAN_INSTANCE_STRATEGY |
Modifier and Type | Method | Description |
---|---|---|
NewBeanInstanceStrategy |
JsonConfig.getNewBeanInstanceStrategy() |
Returns the configured NewBeanInstanceStrategy.
Default value is NewBeanInstanceStrategy.DEFAULT [JSON -> Java] |
Modifier and Type | Method | Description |
---|---|---|
void |
JsonConfig.setNewBeanInstanceStrategy(NewBeanInstanceStrategy newBeanInstanceStrategy) |
Sets the NewBeanInstanceStrategy to use.
Will set default value (NewBeanInstanceStrategy.DEFAULT) if null. [JSON -> Java] |
Modifier and Type | Field | Description |
---|---|---|
static NewBeanInstanceStrategy |
NewBeanInstanceStrategy.DEFAULT |
Calls Class.newInstance()
|
Copyright © 2006–2019 Json-lib. All rights reserved.