an HJSON compatible parser and encoder
TODO: needs testing, any contrinutions are more than welcome
import { HJSON } from "https://code4fukui.github.io/HJSON/HJSON.js";
const s = `{
# comment
a: "abc", // comment
b: 123, /* comment */
}`;
const obj = HJSON.parse(s);
console.log(obj);
const s2 = HJSON.stringify(obj);
console.log(s2);