Buffer the next character internally to make reading faster

This commit is contained in:
Eric Fischer
2014-10-19 15:15:36 -07:00
parent 043b35eede
commit 84b9dea51e
2 changed files with 23 additions and 11 deletions
+1
View File
@@ -30,6 +30,7 @@ typedef struct json_pull {
int (*read)(struct json_pull *);
int (*peek)(struct json_pull *);
int peeked;
void *source;
json_object *container;