推荐关注
› Meteor
› JSLint - a JavaScript code quality tool
› jsFiddle
› D3.js
› WebStorm
推荐书目
› JavaScript 权威指南第 5 版
› Closure: The Definitive Guide
18510047382

PowerJSON - 由 JSON 改进的数据交换格式。

  •  
  •   18510047382 · Oct 15, 2019 · 11245 views
    This topic created in 2540 days ago, the information mentioned may be changed or developed.

    PowerJSON

    Powerjson 是由 JSON 改进而成的数据交换格式,它将 JSON 支持了部分 JavaScript 语法,使其更加高效可用,并且解决了许多 JSON 历史遗留下来的问题。

    它支持 单引号字符串, 多行字符串, 注释, 运算符, 导入文件, 导入其它 PJSON 文件 等。

    Simple Demo

    {
        // 字符串
        helloText: 'hello world',
        MultiLineText: `
            Welcome
            to
            PowerJSON!
        `,
    
        // 文件和导入
        myFile: new File('./file.txt'),
        importPJSONFile: new PJSON('./index2.pjson'),
        getFile: new GET('http://cn.powerjson.org'),
    
        // 运算符
        tenDaySeconds: 60 * 60 * 24 * 10
    
        // 这里是注释!
        /* 注释 2 */
    }
    

    生态系统

    聊天室 Gitter

    为什么不加入我们的在线 PowerJSON CN Gitter 聊天室?

    仓库

    PowerJSON 在 Github / Gitee / NPM 上托管仓库。

    兼容性

    PowerJSON 支持所有兼容 ES6 的 浏览器 / js 运行时。

    浏览器:

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

    Node.js:

    • Nodejs >= 6

    文档

    访问 powerjson.org 查看我们的在线实例和 教程!

    变更日志

    每次发行版的细节和变更记录请访问 Github 上的 发行日志。

    协议

    MIT

    Copyright (c) 2019-present, Yingxuan (Bill) Dong

    1  2  
    ❮ ❯
    g0thic
        101
    g0thic  
       Oct 16, 2019
    大兄弟 这 node_modules 咱能不提交上去嘛
    1  2  
    ❮ ❯
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2994 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 13:14 · PVG 21:14 · LAX 06:14 · JFK 09:14
    ♥ Do have faith in what you're doing.