From 82a68f09ecf2440b22c2604fe207bbee1c5f4d3a Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 14 Jun 2026 22:24:52 +1200 Subject: feat: Added arrays for all literal types --- src/json.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/json.h') diff --git a/src/json.h b/src/json.h index 0e616e3..78bcee3 100644 --- a/src/json.h +++ b/src/json.h @@ -51,6 +51,8 @@ namespace TehJSON Token consume(TokenType type); TokenType nextTokenType(); void readFromTokens(std::vector tokens); + template + std::vector readVector(TokenType type, T(*)(const std::string)); // Leaf data fields std::shared_ptr data; -- cgit v1.2.3