Handle objects, arrays and strings

This commit is contained in:
abdelrahman committed 2023-06-17 15:27:16 +01:00
1 parent d7791e3794
commit 43630526dc
4 files changed
+243 -537

No files matched your search

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