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

Deprecated JSON::Validator#validate2 #336

Merged
merged 1 commit into from
Feb 1, 2017

Conversation

iainbeeston
Copy link
Contributor

JSON::Validator#validate! is the accepted way to validate and raise
exceptions if the data is invalid, but there is also the #validate2
method. From my point of view this is a legacy method and I think we
should encourage people to use #validate!

`JSON::Validator#validate!` is the accepted way to validate and raise
exceptions if the data is invalid, but there is also the `#validate2`
method. From my point of view this is a legacy method and I think we
should encourage people to use `#validate!`
@iainbeeston iainbeeston merged commit 5a9528b into voxpupuli:master Feb 1, 2017
@iainbeeston iainbeeston deleted the deprecate-validate2 branch February 1, 2017 11:33
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