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
.