@classmethod<EOL><INDENT>def from_string(cls, pipfile_content: str, pipfile: Pipfile):<DEDENT>
_LOGGER.debug("<STR_LIT>")<EOL>try:<EOL><INDENT>parsed = json.loads(pipfile_content)<EOL><DEDENT>except Exception as exc:<EOL><INDENT>raise PipfileParseError("<STR_LIT>") from exc<EOL><DEDENT>return cls.from_dict(parsed, pipfile)<EOL>
Parse Pipfile.lock from its string content.