Fast JSON parsing for Kotlin Multiplatform.
simdjson-kotlin is a Kotlin Multiplatform port of simdjson, the JSON parser that uses SIMD instructions to parse gigabytes of JSON per second. Three APIs (DOM, On-Demand, kotlinx.serialization) across JVM, Android, Native and iOS.
Explore
Getting started
Add the dependency, check the requirements, and parse your first document.
→DOM API
Parse a whole document into an immutable in-memory tree of JsonValues.
On-Demand API
Lazy, forward-only iteration. Decode values only when accessed, no tree built.
→kotlinx.serialization
Decode @Serializable classes directly from JSON on the JVM.
Examples
Worked end-to-end examples comparing the DOM, On-Demand and typed paths.
→