pub fn new(message: &str) -> InvalidJsonError {
        InvalidJsonError {
            message: message.to_string(),
        }
    }
/// Create a new error instance.
Create a new error instance.
Create a new error instance .
pub fn new(message: &str) -> InvalidJsonError {
        InvalidJsonError {
            message: message.to_string(),
        }
    }
pub fn new ( message : & str ) -> InvalidJsonError { InvalidJsonError { message : message . to_string ( ) , } }
Create a new error instance.
Create a new error instance .
message
&str