langchain.output_parsers.json.parse_json_markdown¶

langchain.output_parsers.json.parse_json_markdown(json_string: str, *, parser: ~typing.Callable[[str], ~typing.Any] = <function loads>) dict[source]¶

Parse a JSON string from a Markdown string.

Parameters

json_string – The Markdown string.

Returns

The parsed JSON object as a Python dictionary.