pub fn new<J>(value: J) -> Self
    where
        J: Into<String>,
    {
        JsonString(value.into())
    }
/// Creates a new `JsonString` from the given string.
///
/// The given value should convert into a valid JSON string.
Creates a new `JsonString` from the given string.
The given value should convert into a valid JSON string.
Creates a new ` JsonString ` from the given string . The given value should convert into a valid JSON string .
pub fn new<J>(value: J) -> Self
    where
        J: Into<String>,
    {
        JsonString(value.into())
    }
pub fn new < J > ( value : J ) -> Self where J : Into < String > , { JsonString ( value . into ( ) ) }
Creates a new `JsonString` from the given string.
Creates a new ` JsonString ` from the given string .
value
J
value
J