[][src]Function holochain_wasm_utils::memory_serialization::load_json

pub fn load_json<'s, T: Deserialize<'s>>(
    encoded_allocation: u32
) -> Result<T, String>

Retrieve a stored data struct from an encoded allocation. Return error string if encoded_allocation is invalid.