Commit Graph

4 Commits

Author SHA1 Message Date
Arif Dogan dc1321b0d0
Add test for successful item creation in test_json_error_improvements.py 2025-09-19 16:48:11 +02:00
Arif Dogan 7a8da3a4ad
Add test for JSON decode error handling in long documents with early errors. 2025-09-19 16:42:42 +02:00
Arif Dogan 93e98d5cb7
Refactor code for improved readability and update tests to handle Pydantic v1 and v2 differences. 2025-09-18 23:40:25 +02:00
Arif Dogan 6b907a57f8
feat: enhance JSON parse errors with line/column info and snippets
column positions and error snippets to JSON decode errors for
better debugging experience. Updates error location format and provides
context around the problematic JSON.
2025-09-18 23:25:57 +02:00