pub fn parse_json(json: impl AsRef<str>) -> Result<Self, Error> {
        let inner = serde_json::from_str(json.as_ref()).map_err(Error::MetadataParseError)?;
        Ok(Self(inner))
    }
Deserializes this JSON blob into a `CargoMetadata`.
guppy/src/metadata_command.rs