Function from_metadata

Source
fn from_metadata(json: &Value) -> Result<HashMap<String, String>>
Expand description

Parse a metadata definition from a JSON representation. The JSON can either be an Object or an Array of Objects.