Bug#961233: ITP: jsmn -- header-only JSON library
Package: wnpp
Owner: Steffen Moeller <moeller@debian.org>
Severity: wishlist
* Package name : jsmn
Version : 1.1.0
Upstream Author : Serge A. Zaitsev
* URL : https://github.com/zserge/jsmn
* License : MIT
Programming Lang: C
Description : header-only JSON library
Philosophy
.
Most JSON parsers offer you a bunch of functions to load JSON data,
parse it and extract any value by its name. jsmn proves that checking
the correctness of every JSON packet or allocating temporary objects
to store parsed JSON fields often is an overkill.
.
JSON format itself is extremely simple, so why should we complicate it?
.
jsmn is designed to be robust (it should work fine even with erroneous
data), fast (it should parse data on the fly), portable (no superfluous
dependencies or non-standard C extensions). And of course, simplicity is
a key feature - simple code style, simple algorithm, simple integration
into other projects.
.
Features
.
* compatible with C89
* no dependencies (even libc!)
* highly portable (tested on x86/amd64, ARM, AVR)
* about 200 lines of code
* extremely small code footprint
* API contains only 2 functions
* no dynamic memory allocation
* incremental single-pass parsing
* library code is covered with unit-tests
Remark: This package is maintained by Steffen Moeller at
https://salsa.debian.org/science-team/jsmn
Reply to: