_CHARS
- private static {Object}
Character substitution map for common escapes and special characters.
_SPECIAL_CHARS
- private static {RegExp}
Regex used to replace special characters in strings for JSON
stringification.
RE_INVALID
- private static {RegExp}
Final step in the validation. Regex used to test the string left after
all previous replacements for invalid characters.
RE_REPLACE_BRACKETS
- private static {RegExp}
Third step in the validation. Regex used to remove all open square
brackets following a colon, comma, or at the beginning of the string.
RE_REPLACE_ESCAPES
- private static {RegExp}
First step in the validation. Regex used to replace all escape
sequences (i.e. "\\", etc) with '@' characters (a non-JSON character).
RE_REPLACE_VALUES
- private static {RegExp}
Second step in the validation. Regex used to replace all simple
values with ']' characters.