ajthinking / nasty-json

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nasty JSON 🤪

A JSON-like parser:

{
  unqoted: "ok",
  with spaces: "sure",
  'singles': 'right',
  "doubles": 'as usual',
}

Usage

NastyJSON.parse(dirt) // 😎

Acknowledgments

Adapted from a regular JSON-parser in this repo

See also dirty-json

License

MIT

About


Languages

Language:TypeScript 98.5%Language:JavaScript 1.5%