This repository has been archived on 2017-04-03. You can view files and clone it, but cannot push or open issues/pull-requests.
blog_post_tests/20140925161649.blog

7 lines
952 B
Plaintext

Announcing microjson
<p>If you&#8217;ve ever wanted a JSON parser that can unpack directly to fixed-extent C storage (look, ma, no malloc!) I&#8217;ve got the code for you.</p>
<p>The <a href="http://www.catb.org/esr/microjson/">microjson</a> parser is tiny (less than 700LOC), fast, and very sparing of memory. It is suitable for use in small-memory embedded environments and deployments where malloc() is forbidden in order to prevent leaked-memory issues.</p>
<p>This project is a spin-out of code used heavily in GPSD; thus, the code has been tested on dozens of different platforms in hundreds of millions of deployments.</p>
<p>It has two restrictions relative to standard JSON: the special JSON &#8220;null&#8221; value is not handled, and object array elements must be homogenous in type.</p>
<p>A programmer&#8217;s guide to building parsers with microjson is <a href="http://www.catb.org/esr/microjson/">included</a> in the distribution.</p>