Skip to content

Glossary: Kotlin Beyond the Basics

ignoreUnknownKeys

A `Json { }` option that skips JSON keys the class doesn't have. Without it, an unexpected key stops decoding.

Where the book teaches it

Related terms

kotlinx.serializationJSON