Function sp_serializer::to_string_pretty
source ยท pub fn to_string_pretty<T: Serialize + ?Sized>(value: &T) -> String
Expand description
Serialize the given data structure as a pretty-printed String of JSON.
pub fn to_string_pretty<T: Serialize + ?Sized>(value: &T) -> String
Serialize the given data structure as a pretty-printed String of JSON.