Skip to main content

from_json_str

Function from_json_str 

Source
pub fn from_json_str<'a, T: Deserialize<'a>>(
    s: &'a str,
) -> Result<T, ContractError>
Expand description

Deserialize a contract data structure from JSON string.