Added JSON_checker source

This commit is contained in:
Jordan Cristiano
2015-06-19 14:11:18 -04:00
parent f4cd7f96e2
commit b763712020
2 changed files with 413 additions and 0 deletions

View File

@ -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);