pub fn to_string_custom<T>(value: &T, options: Options) -> Result<String>where
T: Serialize,Expand description
Serialize an instance of type T into an S-expression string.
use serde_lexpr::{print, to_string_custom};
assert_eq!(to_string_custom(&("foo", 1), print::Options::elisp()).unwrap(), r#"["foo" 1]"#.to_string())