An open API service indexing awesome lists of open source software.

https://github.com/kaleidawave/simple-json-parser

No allocation JSON key value parser with support for comments
https://github.com/kaleidawave/simple-json-parser

json no-allocation parser rust

Last synced: 9 months ago
JSON representation

No allocation JSON key value parser with support for comments

Awesome Lists containing this project

README

          

# JSON parser/lexer

![lines of code](https://kaleidawave-projectinformation.web.val.run/project/simple-json-parser/badge)
[![crates.io badge](https://img.shields.io/crates/v/simple-json-parser?style=flat-square)](https://crates.io/crates/simple-json-parser)
[![docs.rs badge](https://img.shields.io/docsrs/simple-json-parser?style=flat-square)](https://docs.rs/simple-json-parser/latest)

Features
- Under < 200 LOC Rust lexer
- No dependencies
- Visiting / callback based API (avoids allocations)
- Handles single and multiline comments in JSON

See [examples](/examples/) and [tests](/tests/) for usage.