diff --git a/json_serialization/reader.nim b/json_serialization/reader.nim index 86787d7..4e58e4a 100644 --- a/json_serialization/reader.nim +++ b/json_serialization/reader.nim @@ -327,6 +327,9 @@ proc skipSingleJsValue*(lexer: var JsonLexer) {.raises: [IOError, JsonReaderErro tkTrue, tkFalse, tkNull: lexer.next() +template skipSingleJsValue*(r: var JsonReader) = + skipSingleJsValue(r.lexer) + proc captureSingleJsValue(r: var JsonReader, output: var string) {.raises: [IOError, SerializationError].} = r.lexer.renderTok output case r.lexer.tok