Skip to content

kekse1/json.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON.js

Just started this one as a really small JSON extension, implemented in JavaScript.

It's a Pre-Processor, not a Parser!

Index

  1. Features
  2. Download
  3. Example/Test
  4. Details
  5. Contact
  6. Copyright and License

Features

The .json files can now also:

  • Contain comments /* ... */
  • Beneath the " string literal now also supported ' and `
  • This also holds for escaping 'em, it's also supported.
  • All both in keys and in values.
  • Preserves original lines and columns (over comments, for debugging)

I'd be happy about your ideas, which other features could be implemented!

Download

Example / Test

Details

I'm just parsing it 'byte by byte'. With one open state. That's all.

Contact

Copyright and License

The Copyright is (c) Sebastian Kucharczyk, and it's licensed under the MIT (also known as 'X' or 'X11' license).

Favicon

About

JSON: Extended in JavaScript

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published