Giter Club home page Giter Club logo

jsonc's People

Contributors

erickjones avatar komkom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

jsonc's Issues

jsonc docker image on docker hub?

It would be nice to have a jsonc image on docker hub that could be easily used in CI environments, to easily convert jsonc to regular json.

There is a PR for jq that should provide an example of how to implement.

It looks like from reading that PR that you could then enable auto-builds on docker hub that would automatically build a new docker image on hub.docker.com when code is committed to this github repository.

RFC

I like very much the idea.
Any plan to create a RFC ?
I think it's vital for a proposal like this, in order to be easily accepted by the community

Support of multi-line string literal

I have very similar idea, I always like with minor extension for JSON to make JSON as main stream config language. Like the way you shared a simple doc about the idea, hopefully JSONC will become a mainstream standard

One idea to add here is to support multi-line String literal with back quote "`" as what defined in ES6, the idea is try to make jsonc as compatible as possible with javascript syntax. So for javascript client can just use eval() to parse the doc (similar as jsonp)

JSON with comments in Visual Studio Code

I love this project! I'm sharing something related I just found in Visual Studio code. Hope it helps.

JSON with Comments (jsonc) syntax highlighting is available in Visual Studio Code:

image

When using default JSON syntax highlighting in VSCode it complains about comments and about trailing commas:

image

After switching to JSON with Comments (jsonc) it validates just fine:

image

This is what I could find about this validation in VSCode:

Small paragraph in documentation: https://code.visualstudio.com/docs/languages/json#_json-with-comments

It seems that the syntax specification is in: https://github.com/Microsoft/vscode/blob/master/extensions/json/syntaxes/JSONC.tmLanguage.json

Thanks for the project!

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.