pub fn to_string(&self) -> Result<String, Error> {
        match serde_json::to_string(&self.list_of) {
            Ok(ret) => Ok(ret),
            Err(_) => Err(Error::ClaimInvalidJson),
        }
    }
/// Return the JSON serialized representation of `Self`.
///
/// Errors:
/// - `self` cannot be serialized as JSON
Return the JSON serialized representation of `Self`.
Errors:
`self` cannot be serialized as JSON
Return the JSON serialized representation of ` Self ` . Errors : ` self ` cannot be serialized as JSON
pub fn to_string(&self) -> Result<String, Error> {
        match serde_json::to_string(&self.list_of) {
            Ok(ret) => Ok(ret),
            Err(_) => Err(Error::ClaimInvalidJson),
        }
    }
pub fn to_string ( & self ) -> Result < String , Error > { match serde_json :: to_string ( & self . list_of ) { Ok ( ret ) => Ok ( ret ) , Err ( _ ) => Err ( Error :: ClaimInvalidJson ) , } }
Return the JSON serialized representation of `Self`.
Return the JSON serialized representation of ` Self ` .
&self