We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
below is the code snippet:-
final JsonSchemaFactory factory = JsonSchemaFactory.byDefault(); final JsonNode node = JsonLoader.fromResource("/json-patch.json"); SCHEMA = factory.getJsonSchema(node);
in another method, i use it like this:-
ProcessingReport report = SCHEMA.validate(patchJson);
NPE exception comes when patchJson is passed as null.
for reference json-patch.json is same as the one here:- https://github.com/fge/json-schema-processor-examples/blob/master/src/main/resources/json-patch.json
The text was updated successfully, but these errors were encountered:
No branches or pull requests
below is the code snippet:-
in another method, i use it like this:-
NPE exception comes when patchJson is passed as null.
for reference json-patch.json is same as the one here:- https://github.com/fge/json-schema-processor-examples/blob/master/src/main/resources/json-patch.json
The text was updated successfully, but these errors were encountered: