pub fn parse_yaml_or_json( raw: impl AsRef<[u8]>, ) -> Result<Manifest, SerializationError>
A simple function that attempts to parse the given bytes as YAML or JSON. This is used in the implementations of ManifestLoader
ManifestLoader