ModelSerializationStrategy

Used by IndexRepository to serialize/deserialize models. The default implementation uses kotlinx.serialization.

Note, even if you use Jackson, the search client still requires kotlinx.serialization for parsing responses.

Inheritors

Functions

Link copied to clipboard
abstract fun deSerialize(value: JsonObject): T

Deserialize a kotlinx.serialization JsonObject.

Link copied to clipboard
abstract fun serialize(value: T): String