Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/Add JSON options #44

Merged
merged 7 commits into from
Feb 11, 2024
Merged

Feature/Add JSON options #44

merged 7 commits into from
Feb 11, 2024

Conversation

jsconan
Copy link
Collaborator

@jsconan jsconan commented Feb 11, 2024

Add options to the JSONFile() implementation:

  • separators (tuple, optional): The separators for key/values, a.k.a (', ', ': ').
  • sort_keys (bool, optional): Whether or not to sort the keys.
  • skip_keys (bool, optional): Whether or not to skip the keys not having an allowed type.
  • ensure_ascii (bool, optional): Whether or not to escape non-ascii chars.
  • strict (bool, optional): Whether or not to forbid control chars.

@jsconan jsconan merged commit bb095e6 into develop Feb 11, 2024
@jsconan jsconan deleted the feature/add-json-options branch February 11, 2024 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant