hopliteDecoder
fun <A : AttestationConfiguration> AttestationConfiguration.Reader<A>.hopliteDecoder(targetClass: KClass<A>): Decoder<A>(source)
Creates a Hoplite decoder for an AttestationConfiguration that converts the Hoplite node into JSON and delegates to AttestationConfiguration.Reader.fromJsonObject.
Integrators can register this decoder with Hoplite to load any AttestationConfiguration from arbitrary sources (files, env, etc) without using Kotlinx serialization directly.
inline fun <A : AttestationConfiguration> AttestationConfiguration.Reader<A>.hopliteDecoder(): Decoder<A>(source)
Creates a Hoplite decoder for an AttestationConfiguration that converts the Hoplite node into JSON and delegates to AttestationConfiguration.Reader.fromJsonObject.