parse_json_string

Function parse_json_string 

Source
pub fn parse_json_string(
    name: &str,
    value: &JsonValue,
) -> Result<String, RpcError>
Expand description

Parses a JsonValue parameter into a String. Returns the string if successful or an error if the value is not a valid string.