wave_obj_from_json

Function wave_obj_from_json 

Source
pub fn wave_obj_from_json<T: WaveObj>(data: &[u8]) -> Result<T, Error>
Expand description

Deserialize JSON bytes to a specific WaveObj type. Does NOT validate the otype field — caller should verify if needed.