Giter Club home page Giter Club logo

PowerJSON

👏 Powerjson is json's improved data format that takes advantage of JSON and JavaScript syntax and adds many new features to solve some of JSON's long-standing problems.

It supports single quoted strings, multi-line strings, comments, operators, import files, import PJSON files, and more.

Simple Demo

{
    // strings
    helloText: 'hello world',
    MultiLineText: `
        Welcome
        to
        PowerJSON!
    `,

    // file and import
    myFile: new File('./file.txt'),
    importPJSONFile: new PJSON('./index2.pjson'),
    getFile: new GET('http://www.powerjson.org'),

    // operator
    tenDaySeconds: 60 * 60 * 24 * 10

    // here is the comment!
    /* comment2 */
}

Ecosystem

Gitter Gitter

Why not join our online PowerJSON Gitter Room?

Repository

PowerJSON released on Github / Gitee / NPM.

Compatibility

PowerJSON supports all browsers / js runtime that support ES6.

Browser:

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

Node.js:

  • Nodejs >= 6

Documentation

To check out live examples and docs, visit powerjson.org.

Changelog

Detailed changes for each release are documented in the release notes.

License

MIT

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

powerjson's Projects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.