Last Updated: February 25, 2016
·
1.51K
· dpashkevich

JSON5 - like JSON but for human-editing

So JSON was originally made for machines. But what if you like JavaScript syntax and don't feel like maintaining meta files for your project in a different format (e.g. YAML)?

Enter JSON5: https://github.com/aseemk/json5

Killer feature: comments inside files are allowed!
Very handy for maintaining external configuration files.

Among other features, object keys don't need to be quoted and strings can be single-quoted. So far not a big change over JSON but much easier to write by hand!

1 Response
Add your response

Sweet! I'll definitely check this out.

over 1 year ago ·

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.

Security insights from Cside