public interface JSONConfigDefaultsMBean
| Modifier and Type | Method and Description |
|---|---|
void |
clearNumberFormats()
Clear any default number formats.
|
boolean |
isAllowReservedWordsInIdentifiers()
Get the default for allowing reserved words in identifiers.
|
boolean |
isDetectDataStructureLoops()
Get the default detect data structure loops policy.
|
boolean |
isEncodeNumericStringsAsNumbers()
Get the default encode numeric strings as numbers policy.
|
boolean |
isEscapeBadIdentifierCodePoints()
Get the default escape bad identifier code points policy.
|
boolean |
isEscapeNonAscii()
Get the default quote non-ASCII policy.
|
boolean |
isEscapeSurrogates() |
boolean |
isQuoteIdentifier()
Get the default quote identifier policy.
|
boolean |
isUnEscapeWherePossible()
The default unEscape policy.
|
boolean |
isUseECMA6()
Get the default escape ECMAScript 6 policy.
|
boolean |
isValidatePropertyNames()
Get the default validate property names policy.
|
void |
setAllowReservedWordsInIdentifiers(boolean dflt)
Set default flag for allowing reserved words in identifiers.
|
void |
setCodeDefaults()
Reset all defaults to their original unmodified values.
|
void |
setDetectDataStructureLoops(boolean dflt)
Set the default flag for forcing quotes on identifiers.
|
void |
setEncodeNumericStringsAsNumbers(boolean dflt)
Set the default flag for encoding of numeric strings as numbers.
|
void |
setEscapeBadIdentifierCodePoints(boolean dflt)
If true, then any bad code points in identifiers will be quoted.
|
void |
setEscapeNonAscii(boolean dflt)
Set the default flag for forcing escaping of non-ASCII characters.
|
void |
setEscapeSurrogates(boolean dflt) |
void |
setQuoteIdentifier(boolean dflt)
Set the default flag for forcing quotes on identifiers.
|
void |
setUnEscapeWherePossible(boolean dflt)
Set default flag for undoing inline escapes in strings.
|
void |
setUseECMA6(boolean dflt)
Set the default flag for using ECMAScript 6 code points to encode
Unicode escapes and allowing letter numbers in identifiers.
|
void |
setValidatePropertyNames(boolean dflt)
Set the default flag for validation of property names.
|
void setCodeDefaults()
void clearNumberFormats()
boolean isValidatePropertyNames()
void setValidatePropertyNames(boolean dflt)
dflt - If true, then property names will be validated by default.boolean isDetectDataStructureLoops()
void setDetectDataStructureLoops(boolean dflt)
dflt - If true, then all identifiers will be quoted.boolean isEscapeBadIdentifierCodePoints()
void setEscapeBadIdentifierCodePoints(boolean dflt)
dflt - the escapeBadIdentifierCodePoints to setboolean isEncodeNumericStringsAsNumbers()
void setEncodeNumericStringsAsNumbers(boolean dflt)
dflt - If true, then strings that look like numbers will be encoded
as numbers.boolean isEscapeNonAscii()
void setEscapeNonAscii(boolean dflt)
dflt - If true, then all non-ASCII will be Unicode escaped.boolean isUnEscapeWherePossible()
void setUnEscapeWherePossible(boolean dflt)
dflt - If true then where possible, undo inline escapes in strings.boolean isEscapeSurrogates()
void setEscapeSurrogates(boolean dflt)
dflt - the defaultEscapeSurrogates to setboolean isQuoteIdentifier()
void setQuoteIdentifier(boolean dflt)
dflt - If true, then all identifiers will be quoted.boolean isUseECMA6()
void setUseECMA6(boolean dflt)
dflt - if true then ECMAScript 6 code points
will be used to encode Unicode escapes as needed and letter
numbers will be allowed in ID's.boolean isAllowReservedWordsInIdentifiers()
void setAllowReservedWordsInIdentifiers(boolean dflt)
dflt - the defaultAllowReservedWordsInIdentifiers to setCopyright © 2015. All rights reserved.