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!
Written by Dmitry Pashkevich
Related protips
1 Response
Sweet! I'll definitely check this out.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Javascript
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#