#json-parser #comments #json #allocation #lexer #no-allocation

simple-json-parser

No allocation JSON key value parser with comment support

5 releases

0.0.5 Jan 13, 2025
0.0.4 Dec 20, 2024
0.0.3 May 21, 2024
0.0.2 Mar 9, 2024
0.0.1 Oct 18, 2023

#442 in Embedded development

26 downloads per month
Used in 2 crates

MIT license

16KB
344 lines

JSON parser/lexer

lines of code crates.io badge docs.rs badge

Features

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

See examples and tests for usage.

No runtime deps