• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..15-Dec-2021-

docs/cheatsheets/H15-Dec-2021-

js/H03-May-2022-

tests/H03-May-2022-

READMEH A D15-Dec-20211.9 KiB4638

build.propertiesH A D15-Dec-2021119 64

build.xmlH A D15-Dec-2021283 76

README

1JSON Utility - Release Notes
2
32.9.0
4    * parse() now coerces input to a string before processing (per spec).
5
62.8.0
7    * Refactored to be ECMA 5 spec compliant.  This resulted in the following:
8        * Leverages browser native JSON parse and stringify if present
9        * Added JSON.useNativeParse and JSON.useNativeStringify boolean configs to
10          allow implementers to force the use of the JavaScript implementation.
11          These are defaulted to true when the current browser supports native
12          JSON.  It is currently recommended to set useNativeStringify to false if
13          you need to use a replacer function.
14        * Removed object key sorting (per spec)
15        * Stringifying cyclical objects will now throw an error (per spec)
16        * Removed support for depth control (per spec)
17    * Tightened up JSON.stringToDate
18    * Renamed final regex _INVALID => _UNSAFE because the destructive regex
19      process is to detect unsafe input.  It does not validate against JSON
20      syntax.
21    * Refactored stringify to match the implementation in YUI 3.
22
232.7.0
24    * No changes
25
262.6.0
27    * Security updates
28    * Architecture change to make lang.JSON object more durable
29    * stringify whitelist keys scrubbed for duplicates
30    * Object keys sorted in stringify
31
322.5.1
33    * Updated validation regex to address poor unicode escape treatment in FF
34    * Updated special characters RegExp
35    * Changed stringification to account for odd responses to typeof
36
372.5.0
38    * Restructured for customization and readability
39    * Extracted isValid method to test a JSON string
40    * Extracted dateToString method to allow overriding with custom serialization format
41    * Added stringToDate method to reconstitute Date instances from default JSON UTC date strings.  Use this in a filter method passed to lang.JSON.parse
42    * fixed walk method so filters are properly applied
43
442.4.0
45    * Initial release
46