Skip to content

mbucc/js0n

This branch is 3 commits ahead of, 34 commits behind quartzjer/js0n:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f173ba7 · Aug 2, 2014

History

25 Commits
Aug 2, 2014
Aug 2, 2014
Aug 2, 2014
Sep 19, 2013
Aug 2, 2014
Mar 27, 2014
Mar 16, 2014
Aug 2, 2014
Mar 27, 2014
Aug 2, 2014
Aug 2, 2014
Sep 19, 2013
Sep 28, 2010

Repository files navigation

js0n - the "cheapest" c json parser possible?

A one-pass super low overhead parsing walk of the raw bytes and no mem copying of any sort, fills in a simple array of offsets and lengths of the first depth array values or object key/values. It should parse any valid json, but trades full validation for efficiency (some invalid json will still parse).  Excellent for low level high speed scanning/routing of small chunks of json.

Parsing this:

{"foo":"bar","barbar":[1,2,3],"obj":{"a":"b"}}

Would result in:

2,3,8,3,14,6,22,7,30,3,35,9,0

Also includes a collection utility functions for handy ways of using js0n quickly/easily.

About

A super lightweight C JSON parser

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 98.2%
  • JavaScript 1.8%