pub fn reference_with<T>(
value: &Value,
read: fn(&Value) -> Result<T, JsonError>,
) -> Result<Reference<T>, JsonError>Expand description
A reference, or an object read with read: how a property whose values
are sent without a type reads them.
ยงErrors
When the value is neither an IRI nor an object read accepts.