Added JSON_checker source

This commit is contained in:
Jordan Cristiano committed 2015-06-19 14:11:18 -04:00
1 parent f4cd7f96e2
commit b763712020
2 files changed
+413

No files matched your search

@@ -0,0 +1,13 @@
/* JSON_checker.h */
typedef struct JSON_checker_struct {
int state;
int depth;
int top;
int* stack;
} * JSON_checker;
extern JSON_checker new_JSON_checker(int depth);
extern int JSON_checker_char(JSON_checker jc, int next_char);
extern int JSON_checker_done(JSON_checker jc);