public class HjsonOptions
extends java.lang.Object
| Constructor and Description |
|---|
HjsonOptions() |
| Modifier and Type | Method and Description |
|---|---|
IHjsonDsfProvider[] |
getDsfProviders()
Returns the DSF providers.
|
boolean |
getEmitRootBraces()
Deprecated.
will always return true.
|
boolean |
getParseLegacyRoot()
Detects whether objects without root braces are supported.
|
void |
setDsfProviders(IHjsonDsfProvider[] value)
Sets the DSF providers.
|
void |
setEmitRootBraces(boolean value)
Deprecated.
root braces are always emitted.
|
void |
setParseLegacyRoot(boolean value)
Sets whether root braces should be emitted.
|
public IHjsonDsfProvider[] getDsfProviders()
public void setDsfProviders(IHjsonDsfProvider[] value)
value - valuepublic boolean getParseLegacyRoot()
true if this feature is enabled.public void setParseLegacyRoot(boolean value)
value - value@Deprecated public boolean getEmitRootBraces()
true if this feature is enabled.@Deprecated public void setEmitRootBraces(boolean value)
value - value