sjsonc-parser

parser json/jsonc/object

Usage no npm install needed!

<script type="module">
  import sjsoncParser from 'https://cdn.skypack.dev/sjsonc-parser';
</script>

README

sjsonc-parser

similar jsonc parser

{
    "name": "sjsonc",
    number: 1234,
    // commentLine
    str: 'str', // commentLine
    /** commentBlock */
    bool: true
}
[{
    "name": "sjsonc",
    number: 1234,
    // commentLine
    str: 'str', // commentLine
    /** commentBlock */
    bool: true,
    arr: []
}]

文法

参考文档