ExpressionAdapterInitializer

@JsonClass(generateAdapter = true)
class ExpressionAdapterInitializer(val expression: String) : AdapterInitializer

The adapter expression will be used as-is (can be an object, a public val, a class instantiation).

e.g. "com.example.MyAdapter" or "com.example.MyAdapter()".

Constructors

Link copied to clipboard
fun ExpressionAdapterInitializer(expression: String)

Properties

Link copied to clipboard
val expression: String