silmeth / jsonParser

Example of simple Kotlin JSON parser using better-parse (https://github.com/h0tk3y/better-parse)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

json-parser – a simple example JSON parser in Kotlin with better-parse

The parsing code is in SimpleJsonGrammar object, there are also a few tests showing it works.

It does not currently handle unicode escape sequences (like "\uFDFD" for string).

Tests can be run with ./gradlew test.

About

Example of simple Kotlin JSON parser using better-parse (https://github.com/h0tk3y/better-parse)

License:Do What The F*ck You Want To Public License


Languages

Language:Kotlin 100.0%