#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

#1128 in Parser implementations

Download history 5/week @ 2024-08-12 29/week @ 2024-08-26 1/week @ 2024-09-09 22/week @ 2024-09-23 71/week @ 2024-09-30 5/week @ 2024-10-07 10/week @ 2024-11-04 11/week @ 2024-11-11 39/week @ 2024-11-25

60 downloads per month
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