json5/README.md
These modules are adapted from the JSON5 project. JSON5 was adopted by
the Dojo Toolkit for use by dojo/parser to facilitate parsing data attributes without using the unsafe
JavaScript function eval(). As such only the parsing related modules from JSON5 are included.
Updates from the JSON5 project can be incorporated into the Dojo Toolkit with the following process:
tsc lib/parse.js lib/unicode.js lib/util.js --allowJs --module ES6 --outDir dojo --removeComments --target ES5
dojo/json5 with the newly converted modules to see what changes will need
to be madejson5/dojo folder to the dojo/json5 folderlexStates object property default: in quotes => 'default':json5/parse.js to use dojo/string methods for ES5 String methods:
'../string' as dstringcodePointAt with dstring.codePointAt(str, position)String.fromCodePoint with dstring.fromCodePointdojo/node_modules/intern-geezer/client.html?config=tests/dojo.intern&suites=tests/unit/json5Current as of 2020-06-12, commit 32bb2cd