[][src]Function ssb_json_msg::json::from_legacy

pub fn from_legacy<'de, T>(
    input: &'de [u8]
) -> Result<(Message<T>, &'de [u8]), DecodeJsonError> where
    T: DeserializeOwned

Try to parse data from the input, returning the remaining input when done.