diff options
Diffstat (limited to 'src/json.h')
| -rw-r--r-- | src/json.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -51,6 +51,8 @@ namespace TehJSON Token consume(TokenType type); TokenType nextTokenType(); void readFromTokens(std::vector<Token> tokens); + template <typename T> + std::vector<T> readVector(TokenType type, T(*)(const std::string)); // Leaf data fields std::shared_ptr<void> data; |
