Skip to main content

json_field_name

Function json_field_name 

Source
pub fn json_field_name(name: &str) -> String
Expand description

Convert a Kafka schema field name in PascalCase, such as TransactionalId, to the JSON key the JVM’s *DataJsonConverter uses.

That key is camelCase, such as transactionalId, with the first character in lower case.