Implement send all and send JSON

Now send the JSON using the additional data.

Also implemented the empty filter and the no filter like GRAB User {}
and GRAB User
This commit is contained in:
2024-10-12 19:02:23 +02:00
parent e6357c4d74
commit ac4186529d
3 changed files with 236 additions and 28 deletions
+2
View File
@@ -21,6 +21,7 @@ pub const Token = struct {
.{ "false", .bool_literal_false },
.{ "AND", .keyword_and },
.{ "OR", .keyword_or },
.{ "TO", .keyword_to },
});
pub fn getKeyword(bytes: []const u8) ?Tag {
@@ -39,6 +40,7 @@ pub const Token = struct {
keyword_null,
keyword_and,
keyword_or,
keyword_to,
string_literal,
int_literal,