Function cosmwasm_std::to_json_binary
source · pub fn to_json_binary<T>(data: &T) -> StdResult<Binary>
Expand description
Serializes the given data structure as JSON bytes.
pub fn to_json_binary<T>(data: &T) -> StdResult<Binary>
Serializes the given data structure as JSON bytes.