Ask a question to get started
Enter to send•Shift+Enter new line
Splits JSON into a list of JSON formatted strings.
split_text( self, json_data: dict[str, Any], convert_lists: bool = False, ensure_ascii: bool = True ) -> list[str]
json_data
dict[str, Any]
The JSON data to be split.
convert_lists
bool
False
Whether to convert lists in the JSON to dictionaries before splitting.
ensure_ascii
True
Whether to ensure ASCII encoding in the JSON strings.