Jetson is a JSON format for native ES6 features
npm install jetsonJetson is a ECMA6 compatible superset of JSON
- Single line comments // this is a comment
- Multiline comments / test /
- Template strings from ECMA6
- Template strings are only used for multiline support, interpolation is not supported currently
To use the code running make build in the source directory will produce the ECMAScript 5 compatible code.
To run the codes tests use make test
To load the documentation run make doc where the output will be in the documentation/ directory.
I created Jetson as a possible alternative for YAML in the in progress version of TAP
Hjson is concentrating on being an easy to use config, for which I would be using TOML or just an ini file.
Jetson is a format that is focused on still being as interchangable as JSON and also works in the latest ECMA6 compatible browsers. Simplicity is key with Jetson so performance tweaks can be added later; already parts of Jetson are much more performant.