Trait json_ld_syntax::TryFromJson

source ·
pub trait TryFromJson: Sized {
    type Error;

    // Required method
    fn try_from_json(value: Value) -> Result<Self, Self::Error>;
}

Required Associated Types§

Required Methods§

source

fn try_from_json(value: Value) -> Result<Self, Self::Error>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl TryFromJson for bool

§

type Error = Unexpected

source§

fn try_from_json(value: Value) -> Result<Self, Self::Error>

source§

impl TryFromJson for IriRefBuf

Implementors§