_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.
_CHARS
- private static {Object}
Character substitution map for common escapes and special characters.
_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).
_INVALID
- private static {RegExp}
Final step in the validation. Regex used to test the string left after
all previous replacements for invalid characters.
_SPECIAL_CHARS
- private static {RegExp}
Regex used to replace special characters in strings for JSON
stringification.
_UNICODE_EXCEPTIONS
- private {RegExp}
Replace certain Unicode characters that JavaScript may handle incorrectly
during eval--either by deleting them or treating them as line
endings--with escape sequences.
IMPORTANT NOTE: This regex will be used to modify the input if a match is
found.
_VALUES
- private static {RegExp}
Second step in the validation. Regex used to replace all simple
values with ']' characters.