hjson-js
hjson-js copied to clipboard
Hjson for JavaScript
I tried to use sortProps option to sort properties, but it didn't work. So I've changed code as the commit to make it work. Please review my changes, if something...
From the README: > *emitRootBraces:* boolean, show braces for the root object. Default true. This is a useful option for making my output look neater, so I tried turning it...
How does this compare to [json5](https://json5.org/)? Would be nice if the readme at least mentioned whats different between the two.
I have faced strange behavior of comment processing if it is last entry in object ```javascript let parsed = hjson.rt.parse("{\n a:1/n // comment 1/n. b: 2\n //comment 2\n}"); hjson.rt.stringify(parsed) //...
**raw hjson string** ``` var text = '{\ "last.access": true,\ // "last.set": true,\ // "skills.use": true,\ // "last.wrap.*": true,\ }'; ``` **parse it and then base it back into text**...
When trying to parse nan values using dsf.math, I get an error with the following simple test case: ``` var hjson = require('hjson'); var dsf = [ hjson.dsf.math() ]; hjson.parse(`{...
Either C style or hash style comments should be used. Both mixed is harder to parse. If it is really *human friendly* then there should be one ultimate style. This...
Is there a particular reason that the `hjson/lib/require-config` feature only works if the subsequently-required file has a `.hjson` extension? The feature seems to be disabled if you require a `.json`...
Bumps [eslint](https://github.com/eslint/eslint) from 3.19.0 to 6.6.0. Release notes *Sourced from [eslint's releases](https://github.com/eslint/eslint/releases).* > ## v6.6.0 > * [`39dfe08`](https://github.com/eslint/eslint/commit/39dfe0880fa934e287e8ea1f7b56d5cba8d43765) Update: false positives in function-call-argument-newline (fixes [#12123](https://github-redirect.dependabot.com/eslint/eslint/issues/12123)) ([#12280](https://github-redirect.dependabot.com/eslint/eslint/issues/12280)) (Scott O'Hara) > *...
Great project! Some users like me use RSS feed readers to catch up with new releases. However this is not possible with this repository, as it only works when there...