sj.h is a tiny JSON parsing library written in C99 for developers who want a minimal, allocation-free way to walk through JSON data. It is intentionally small, around a few hundred lines or less depending on how it is counted, and keeps state minimal so it can fit into constrained environments. The library does not try to own every part of JSON handling; instead, it leaves number conversion and string interpretation to the user. This design gives developers direct control over memory, numeric precision, Unicode handling, and application-specific parsing behavior. It reports errors with line and column locations, which makes malformed input easier to debug despite the library’s small size. It is especially appealing for embedded tools, game engines, small utilities, and C projects that value transparency over abstraction.

Features

  • Tiny C99 JSON parser
  • Zero-allocation parsing model
  • Minimal parser state
  • Line and column error reporting
  • User-controlled number handling
  • User-controlled string handling

Project Samples

Project Activity

See All Activity >

Categories

Libraries

Follow sj.h

sj.h Web Site

Other Useful Business Software
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of sj.h!

Additional Project Details

Programming Language

C

Related Categories

C Libraries

Registered

2026-05-11