1. <strong id="7actg"></strong>
    2. <table id="7actg"></table>

    3. <address id="7actg"></address>
      <address id="7actg"></address>
      1. <object id="7actg"><tt id="7actg"></tt></object>

        Power-JSON數(shù)據(jù)交換格式

        聯(lián)合創(chuàng)作 · 2023-09-21 20:07

        Powerjson 是由 JSON 改進(jìn)而成的數(shù)據(jù)交換格式,它將 JSON 支持了部分 JavaScript 語法,使其更加高效可用,并且解決了許多 JSON 歷史遺留下來的問題。

        它支持 單引號字符串多行字符串注釋運(yùn)算符導(dǎo)入文件導(dǎo)入其它 PJSON 文件 等。

        Simple Demo

        {
            // 字符串
            helloText: 'hello world',
            MultiLineText: `
                Welcome
                to
                PowerJSON!
            `,
        
            // 文件和導(dǎo)入
            myFile: new File('./file.txt'),
            importPJSONFile: new PJSON('./index2.pjson'),
            getFile: new GET('http://www.powerjson.org'),
        
            // 運(yùn)算符
            tenDaySeconds: 60 * 60 * 24 * 10
        
            // 這里是注釋!
            /* 注釋2 */
        }

        倉庫

        PowerJSON 在 Github / Gitee / NPM 上托管倉庫。

        兼容性

        PowerJSON 支持所有兼容 ES6 的 瀏覽器 / js 運(yùn)行時。

        瀏覽器:

        • IE >= 11
        • Edge All
        • Firefox >= 6
        • Chrome >= 21
        • Safari >= 7.1
        • Opera >= 15

        Node.js:

        • Nodejs >= 6
        瀏覽 20
        點(diǎn)贊
        評論
        收藏
        分享

        手機(jī)掃一掃分享

        編輯 分享
        舉報
        評論
        圖片
        表情
        推薦
        點(diǎn)贊
        評論
        收藏
        分享

        手機(jī)掃一掃分享

        編輯 分享
        舉報
        1. <strong id="7actg"></strong>
        2. <table id="7actg"></table>

        3. <address id="7actg"></address>
          <address id="7actg"></address>
          1. <object id="7actg"><tt id="7actg"></tt></object>
            长泽梓黑人初解禁bdd07 | 国产网黄| 老逼AV | 海角社区国产精品 | 雷电将军与丘丘人繁衍后代动画 | 操老逼网 | 国产黄色在线播放 | 天天性爱网 | 午夜福利视频一区二区 | 黄色片黄色片黄色片 |