pub trait Deserialize<'input> {
// Required method
fn from_tape(tape: &mut Tape<'input>) -> Result<Self>
where Self: Sized + 'input;
// Provided methods
fn from_slice(json: &'input mut [u8]) -> Result<Self>
where Self: Sized + 'input { ... }
fn from_slice_with_buffers(
json: &'input mut [u8],
buffers: &mut Buffers,
) -> Result<Self>
where Self: Sized + 'input { ... }
unsafe fn from_str(json: &'input mut str) -> Result<Self>
where Self: Sized + 'input { ... }
}Expand description
Deserialisation trait for simd-json