Adapter Generator
class AdapterGenerator(target: TargetType, propertyList: List<PropertyGenerator>)
Content copied to clipboard
Generates a JSON adapter for a target type.
Constructors
Link copied to clipboard
fun AdapterGenerator(target: TargetType, propertyList: List<PropertyGenerator>)
Content copied to clipboard
Functions
Link copied to clipboard
fun prepare(generateProguardRules: Boolean, typeHook: (TypeSpec) -> TypeSpec = { it }): PreparedAdapter
Content copied to clipboard