Struct coreutils_json::JsonService [−][src]
pub struct JsonService {}
Methods
impl JsonService
[src]
impl JsonService
pub fn to_json<T: Sized + Serialize>(&self, value: &T) -> Result<String>
[src]
pub fn to_json<T: Sized + Serialize>(&self, value: &T) -> Result<String>
pub fn from_json<'a, T: Deserialize<'a>>(&self, s: &'a str) -> Result<T>
[src]
pub fn from_json<'a, T: Deserialize<'a>>(&self, s: &'a str) -> Result<T>
Auto Trait Implementations
impl Send for JsonService
impl Send for JsonService
impl Sync for JsonService
impl Sync for JsonService