Function neon_serde2::de::from_value[][src]

pub fn from_value<'j, C, T: ?Sized>(
    cx: &mut C,
    value: Handle<'j, JsValue>
) -> LibResult<T> where
    C: Context<'j>,
    T: DeserializeOwned
Expand description

Deserialize an instance of type T from a Handle<JsValue>

Errors

Can fail for various reasons see ErrorKind