pub fn rkyv_to_json_u64(rkyv: &[u8]) -> Result<JsonValue, Error>Expand description
Converts a serialized RKYV archive into a JSON string representing a u64
value.
§Parameters
rkyv: A byte slice containing the serialized RKYV data.
§Returns
Ok(JsonValue): A JSON string representation of the deserializedu64value.Err(Error): If deserialization fails.
§Errors
- Returns
Error::Rkyvif deserialization from RKYV tou64fails. - Returns
serde_json::Errorif JSON serialization fails.