zserge/jsmn
View on GitHub ↗ ★ 4,208 C
Jsmn is a world fastest JSON parser/tokenizer. This is the official repo replacing the old one at Bitbucket
12 mentions on Hacker News by 12 people: 2 stories, 10 comments · first 2015-12-11 · latest 2025-09-22
20082026
-
Too simple, I prefer jsmn for that, https://github.com/zserge/jsmn Which does much more in 200 lines of C89 in a single header
comment by rurban · 2025-09-22 · in Sj.h: A tiny little JSON parsing library in ~150 lines of C99 -
If you want to go extremely lightweight, there’s jsmn: https://github.com/zserge/jsmn It does no dynamic memory allocation, which is a plus in constrained IoT/embedded applications. But it’s really only a tokenizer. For example, if you…
comment by msarnoff · 2024-11-14 · in JSON for Classic C++ -
Like how https://github.com/zserge/jsmn works. I thought it would be neat to have such as parser for https://github.com/vshymanskyy/muon
comment by compressedgas · 2023-11-05 · in Building a high performance JSON parser -
One more JSON implementation using this approach is https://github.com/zserge/jsmn .
comment by ergeysay · 2023-07-02 · in Flattening ASTs and other compiler data structures -
Yep! I'm using JSMN ( https://github.com/zserge/jsmn ), which is a streaming parser that visits each token sequentially, so there's only one copy of each JSON response in memory. I also avoid allocating new intermediate memory whenever…
comment by dialupdotnet · 2023-06-26 · in Show HN: WinGPT – AI assistant for Windows 3.1 -
and https://github.com/zserge/jsmn
comment by mtve · 2022-02-13 · in CJSON – Ultralightweight JSON parser in ANSI C -
Anyone know how this compares with jsmn? https://github.com/zserge/jsmn
comment by RustyRussell · 2022-02-13 · in CJSON – Ultralightweight JSON parser in ANSI C -
…similar, so does anyone know of a MessagePack C/C++ library that is microcontroller friendly? [1]: https://github.com/zserge/jsmn [2]: https://github.com/rafagafe/json-maker
comment by magicalhippo · 2020-03-10 · in MessagePack: like JSON, but fast and small -
For json parsing, I really like JSMN ( https://github.com/zserge/jsmn/ ). It doesn't allocate memory, has a simple and easy to use API, and is pretty fast.
comment by duozerk · 2017-05-26 · in Writing a Fast JSON Parser -
…After evaluate a few options I came up that the project 'JSMN' was good enough for my purposes. https://github.com/zserge/jsmn I am not sure if there are Python or another language bindings available but that library is very clean and…
comment by edsiper2 · 2015-12-11 · in Memory use and speed of JSON parsers