forked from xlwings/jsondiff
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We have never handled the JSONDecodeError so consumers are assumed to be catching that exception on their end. This means we cannot wrap all the parser errors into a unified type (e.g. ValueError) without breaking the API. Keep API compatibility on the loader functions by introducing a Serializer class that the cli tool can utilize. This allows the cli to avoid knowing which specific serializer errors to handle. The library itself maintains its current API. Signed-off-by: Cory Todd <cory.todd@canonical.com>
- Loading branch information
Cory Todd
committed
Sep 5, 2023
1 parent
00e3dc8
commit 4c38815
Showing
1 changed file
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters