mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-02-23 18:40:17 +00:00
Begin README
This commit is contained in:
parent
a7e26262ea
commit
8278580336
21
README.md
Normal file
21
README.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
json-pull
|
||||||
|
=========
|
||||||
|
|
||||||
|
A streaming JSON pull parser in C.
|
||||||
|
|
||||||
|
Does the world really need another JSON parser? Maybe not.
|
||||||
|
But what distinguishes this one is the desire to let you
|
||||||
|
read through gigantic files larger than you can comfortably
|
||||||
|
fit in memory and still find the parts you need.
|
||||||
|
|
||||||
|
Setup
|
||||||
|
-----
|
||||||
|
|
||||||
|
You can create a <code>json_pull</code> parser object
|
||||||
|
by calling <code>json_begin_file()</code> to begin reading from a file
|
||||||
|
or <code>json_begin_string()</code> to begin reading from a string.
|
||||||
|
|
||||||
|
You can also read from anything you want by calling <code>json_begin()</code>
|
||||||
|
with your own <code>read()</code> and <code>peek()</code> functions that
|
||||||
|
return or preview, respectively, the next UTF-8 byte from your input stream.
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user