Function to_plain_string

Source
pub fn to_plain_string(val: &Value) -> Result<String>
Expand description

Converts a Value to a plain string representation. Supports String, Number, Bool, and Null types. Returns an error for unsupported types like Array or Object. Differs from to_html_form_string by providing a generic string conversion without HTML-specific handling.