Function to_string_with_options
Source pub fn to_string_with_options<T: Serialize>(
value: &T,
options: &EncodeOptions,
) -> Result<String, Error>
Expand description
Serialize a value to a TOON-formatted string with options
§Arguments
value - The value to serialize (must implement Serialize)
options - Encoding options
§Returns
A Result containing the TOON-formatted string or an error