Open lpar opened 5 years ago
I have the same issue on v5.2. Even using something like the following has no effect, which makes me assume fromJson
is never called.
val downcase = object: FieldRenamer {
override fun fromJson(fieldName: String): String {
return "FOO"
}
override fun toJson(fieldName: String): String {
return fieldName.toLowerCase()
}
}
I've boiled it down to a pretty simple example, and can't see what I'm doing wrong:
I just get
null
as output.