Make Reader.skipSingleJsValue part of the public API

This commit is contained in:
Zahary Karadjov 2022-11-23 13:32:11 +02:00
parent e5b18fb710
commit b42cd3c0d9
No known key found for this signature in database
GPG Key ID: C1F42EAFF38D570F
1 changed files with 1 additions and 2 deletions

View File

@ -265,8 +265,7 @@ proc parseJsonNode(r: var JsonReader): JsonNode =
of tkQuoted, tkExBlob, tkNumeric, tkExInt, tkExNegInt:
raiseAssert "generic type " & $r.lexer.lazyTok & " is not applicable"
proc skipSingleJsValue(r: var JsonReader) =
proc skipSingleJsValue*(r: var JsonReader) =
case r.lexer.tok
of tkCurlyLe:
r.lexer.next()