Trait tapa_trait_serde::IJsonSerializable[][src]

pub trait IJsonSerializable<T = Self> where
    Self: DeserializeOwned + Serialize + Send + Sized
{ fn from_json_string(json_string: &str) -> AnyResult<Self> { ... }
fn from_json_bytes(json_slice: &[u8]) -> AnyResult<Self> { ... }
fn to_json_string(&self) -> String { ... }
fn to_json_string_pretty(&self) -> String { ... }
fn to_json_bytes(&self) -> Vec<u8> { ... }
fn to_json_bytes_pretty(&self) -> Vec<u8> { ... } }

Provided methods

Implementors