getJson

abstract fun <T> getJson(feature: Feature, key: String, clazz: Class<T>, attributes: Attributes = Attributes()): T

Calculates the value of a JSON feature flag for the given key and attributes.

Parameters

clazz

the type to convert the JSON string into. It is expected that a Moshi type adapter is registered with the impl.

See also


open fun <T> getJson(feature: Feature, key: String, clazz: Class<T>): T