Open fundon opened 8 years ago
We are effectively talking about a toml.stringify(object)
type of syntax, right?
It's still impossible to convert json into toml ?
There's toml-stream and json2toml.
I'm interested in taking the AST and returning that to TOML so that comments are preserved.
@docwhat JSON doesnt support comments. What comments are you preserving?
JSONC eg https://www.npmjs.com/package/jsonc-parser
Sent with GitHawk
Ok, but thats not JSON. Thats a custom format that adds comments to JSON.
json
=>toml
file