Function dicom_json::to_string_pretty
source · pub fn to_string_pretty<T>(data: T) -> Result<String, Error>where
DicomJson<T>: From<T> + Serialize,Expand description
Serialize a piece of DICOM data as a pretty-printed string of JSON.