Function sp_serializer::encode

source ·
pub fn encode<T: Serialize + ?Sized>(value: &T) -> Vec<u8>
Expand description

Serialize the given data structure as a JSON byte vector.