Handle objects, arrays and strings

This commit is contained in:
2023-06-17 15:27:16 +01:00
parent d7791e3794
commit 43630526dc
4 changed files with 243 additions and 537 deletions

View File

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