JsonDecoder

fun interface JsonDecoder<T>

Decodes a field value of type T from a JsonNode in an Airbyte state message.

Throws an IllegalArgumentException when the decoding fails. Implementations of JsonDecoder should be strict, failure is unexpected.

Inheritors

Functions

Link copied to clipboard
abstract fun decode(encoded: JsonNode): T