You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone, I found a library named json5, looks interesting. https://github.com/json5/json5/
the project is write by javascript, support json like
examples
{foo: 'bar',while: true,this: 'is a \multi-line string',// this is an inline commenthere: 'is another',// inline comment/* this is a block comment that continues on another line */hex: 0xDEADbeef,half: .5,delta: +10,to: Infinity,// and beyond!finally: 'a trailing comma',oh: ["we shouldn't forget",'arrays can have','trailing commas too',],}
// This file is written in JSON5 syntax, naturally, but npm needs a regular// JSON file, so compile via `npm run build`. Be sure to keep both in sync!{name: 'json5',version: '0.5.0',description: 'JSON for the ES5 era.',keywords: ['json','es5'],author: 'Aseem Kishore <[email protected]>',contributors: [// TODO: Should we remove this section in favor of GitHub's list?// https://github.com/json5/json5/contributors'Max Nanasy <[email protected]>','Andrew Eisenberg <[email protected]>','Jordan Tucker <[email protected]>',],main: 'lib/json5.js',bin: 'lib/cli.js',files: ["lib/"],dependencies: {},devDependencies: {gulp: "^3.9.1",'gulp-jshint': "^2.0.0",jshint: "^2.9.1",'jshint-stylish': "^2.1.0",mocha: "^2.4.5"},scripts: {build: 'node ./lib/cli.js -c package.json5',test: 'mocha --ui exports --reporter spec',// TODO: Would it be better to define these in a mocha.opts file?},homepage: 'http://json5.org/',license: 'MIT',repository: {type: 'git',url: 'https://github.com/json5/json5',},}
About Json5, is there any plan to support handwrite json file like that.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Hello everyone, I found a library named json5, looks interesting. https://github.com/json5/json5/
the project is write by javascript, support json like
examples
About Json5, is there any plan to support handwrite json file like that.
The text was updated successfully, but these errors were encountered: