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

Make validation of json input and output optionnal #36

Merged
merged 1 commit into from
Aug 20, 2021
Merged

Conversation

bidoubiwa
Copy link
Owner

@bidoubiwa bidoubiwa commented Aug 20, 2021

Validation requires to read a second time every file. If the user desire to guarantee their validity two options are introduced:

  -I, --validate-input <file-name>   Check if input JSON files are valid (default: true)
  -O, --validate-output <file-name>  Check if output JSON is a valid JSON (default: false)

Make all validation false by default

Improve readme wording
@bidoubiwa
Copy link
Owner Author

bors merge

@bors
Copy link
Contributor

bors bot commented Aug 20, 2021

Build succeeded:

@bors bors bot merged commit dad9fd4 into main Aug 20, 2021
@bors bors bot deleted the validate_options branch August 20, 2021 14:16
@bidoubiwa bidoubiwa added the breaking-change Breaking changes are introduced label Aug 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change Breaking changes are introduced
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant