Handle objects, arrays and strings
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
#ifndef LEXER_STATES_H
|
||||
#define LEXER_STATES_H
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#define VALID_JSON true
|
||||
#define INVALID_JSON false
|
||||
|
||||
typedef struct lexer lexer_t;
|
||||
|
||||
bool validate_json(char *json);
|
||||
|
||||
#endif // !LEXER_STATES_H
|
||||
|
Reference in New Issue
Block a user