pub fn json_to_bytes<T: Serialize>(value: &T) -> NeoResult<NeoByteString>Expand description
Serializes a value to JSON and returns it as a NeoByteString.
This is equivalent to crate::storage::write_json.
pub fn json_to_bytes<T: Serialize>(value: &T) -> NeoResult<NeoByteString>Serializes a value to JSON and returns it as a NeoByteString.
This is equivalent to crate::storage::write_json.