pub fn parse_package_json(content: &str) -> Result<Package>
Parse the full package.json structure.
content
Returns an error if the JSON is malformed.