json

val json: Json

The configured Json instance every method on this class delegates to. Exposed directly (rather than kept private) for callers that need to hand it to a lower-level API expecting a plain kotlinx.serialization Json — e.g. Ktor's ContentNegotiation plugin (json(get<MosaicSerializer>().json)).