parse_json_response_string

Function parse_json_response_string 

Source
pub fn parse_json_response_string(
    json_result: JsonResult,
) -> Result<String, RpcError>
Expand description

Attempts to parse a JsonResult, converting it into a JsonResponse and extracting a string result from it. Returns an error if conversion or extraction fails, and the extracted string on success.