kotlin-json-stream
1.2.3indexedEfficiently parses JSON streams using OKIO for enhanced performance. Offers a multiplatform solution for handling JSON data with streaming capabilities.
5
Stars
—
Used by
dependents
—
Health
/ 100
Efficiently parses JSON streams using OKIO for enhanced performance. Offers a multiplatform solution for handling JSON data with streaming capabilities.
This library is a kotlin-multiplatform streaming JSON-parser. It is based on OKIO for performance.
https://fab1an.github.io/kotlin-json-stream/
fun test() {
val json = JsonReader("""{"stringProp":"string", "intProp":0}""")
json.beginObject()
json.nextName() shouldEqual "stringProp"
json.nextString() shouldEqual "string"
json.nextName() shouldEqual "intProp"
json.nextInt() shouldEqual 0
json.endObject()
}
infix fun T. {
assertEquals(expected, )
}
Surfaced from shared tags and platforms — no rankings paid for.