SqkonJson

fun SqkonJson(builder: ERROR CLASS: Symbol not found for JsonBuilder.() -> Unit): ERROR CLASS: Unresolved name: Json(source)

Recommended default json configuration for KeyValueStorage.

This configuration generally allows changes to json and enables ordering and querying.

  • ignoreUnknownKeys = true is generally recommended to allow for removing fields from classes.

  • encodeDefaults = true, is required to be able to query on default values, otherwise that field is missing in the db.

  • useArrayPolymorphism = true is required for polymorphic serialization when you use value classes without custom descriptors