set_serde_human_readable

Function set_serde_human_readable 

Source
pub fn set_serde_human_readable(human_readable: bool) -> bool
๐Ÿ‘ŽDeprecated since 0.21.0: Please use apache_avro::util::set_serde_human_readable
Expand description

Set whether the serializer and deserializer should indicate to types that the format is human-readable.

This function only changes the setting once. On subsequent calls the value will stay the same as the first time it is called. It is automatically called on first allocation and defaults to util::DEFAULT_SERDE_HUMAN_READABLE.

NOTE: Changing this setting can change the output of from_value and the accepted input of to_value.

ยงReturns

The configured human-readable value, which might be different from what the function was called with if the value was already set before.