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

simple-json-parser

No allocation JSON key value parser with comment support

2 releases

0.0.2 Mar 9, 2024
0.0.1 Oct 18, 2023

#2467 in Parser implementations

Download history 10/week @ 2024-02-25 95/week @ 2024-03-03 119/week @ 2024-03-10 4/week @ 2024-03-17 27/week @ 2024-03-31 19/week @ 2024-04-07 6/week @ 2024-04-14

53 downloads per month
Used in 2 crates (via ezno-checker)

MIT license

12KB
273 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