pub trait Hydrate {
type Output;
// Required method
fn hydrate(
self,
file: &Arc<PathBuf>,
buffer: &String,
) -> Result<Self::Output, Error>;
}Expand description
Hydrate is used to translate a json_spanned::Spanned type to a
Result
It is possible to error when merging if a field is defined as multiple, incompatible data structures.