Function cosmwasm_std::to_json_string
source · pub fn to_json_string<T>(data: &T) -> StdResult<String>where
T: Serialize + ?Sized,
Expand description
Serializes the given data structure as a JSON string.
pub fn to_json_string<T>(data: &T) -> StdResult<String>where
T: Serialize + ?Sized,
Serializes the given data structure as a JSON string.