pub trait InnerAsRef {
// Required method
fn json_value_as(v: &JsonValue) -> Option<&Self>;
}Expand description
Trait to access to inner value of JsonValue as reference.
This is used by several APIs like JsonValue::get to represent any inner values of JsonValue.
Required Methods§
fn json_value_as(v: &JsonValue) -> Option<&Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.