Skip to content
Search

Sj.h

lastmod 2025-09-25created 2025-09-251 edits

Tiny JSON parsing library written in about 150 lines of C99

About

  • Sj.h is an ultra-lightweight JSON parser of about 150 lines, usable in C99-based environments
  • Features zero memory allocation and minimal state, making it convenient for lightweight embedded environments or minimizing dependencies
  • Leaves number and string parsing to the caller, so users are free to implement that handling themselves
  • Supports line:column error messages, which improves readability and makes locations easy to identify when debugging
  • Public domain software; anyone may freely use, modify, and distribute it

See also

Favorite site

author Zer0 sitemap