Module json

Module json 

Source
Expand description

Utilities for JSON parsing.

Adapted from langchain_core/utils/json.py

Enums§

JsonParseError
Error types for JSON parsing.

Functions§

parse_and_check_json_markdown
Parse a JSON string and check that it contains the expected keys.
parse_json_markdown
Parse a JSON string from a Markdown string.
parse_partial_json
Parse a JSON string that may be missing closing braces.