#json-parser #json-key #key-value #allocation #comments

simple-json-parser

No allocation JSON key value parser with comment support

3 releases

0.0.3 May 21, 2024
0.0.2 Mar 9, 2024
0.0.1 Oct 18, 2023

#1098 in Parser implementations


Used in 2 crates

MIT license

12KB
282 lines

JSON parser/lexer

crates.io badge docs.rs badge

Features

  • Under < 200 LOC Rust lexer (+ no dependencies)
  • Visiting / callback based API (no allocation)
  • Handles single and multiline comments in JSON

See examples and tests for usage.

No runtime deps