- JSON parser
-
oneOf
oneOf(...Parser<T | U | V | ...>[]): Parser<T | U | V>
-
oneOrMore
oneOrMore(Parser<T>): Parser<T[]>
-
inOrder
inOrder(Parser<T>, Parser<U>): Parser<Pair<T, U>> inOrder(Parser<T>, Parser<U>, Parser<V>): Parser<Triple<T, U, V>>
-
separatedBy
separatedBy(Parser<T>, separator: Parser<U>): Parser<T[]>
-
surroundedBy
surroundedBy(start: Parser<U>, Parser<T>, end: Parser<V>): Parser<T[]>
Ensure you have Deno installed
- Run
deno task test
to run all tests except the tc39 tests - Run
deno task test:tc39
to run tc39 compliance tests for json parser