pub struct Error {}
impl core::fmt::Display for Error {
fn fmt(&self, _f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
unimplemented!()
}
}
pub fn from_slice<'a, T>(_v: &'a [u8]) -> Result<T, Error> {
unimplemented!()
}
pub fn to_vec<T>(_value: &T) -> Result<Vec<u8>, Error> {
unimplemented!()
}
pub fn to_string<T>(_value: &T) -> Result<String, Error> {
unimplemented!()
}
pub fn to_value<T>(_value: &T) -> Result<Value, Error> {
unimplemented!()
}
#[derive(Debug, PartialEq, Eq)]
pub enum Value {
Null,
String(String),
Object(std::collections::HashMap<String, Value>),
}
impl core::fmt::Display for Value {
fn fmt(&self, _f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
unimplemented!()
}
}