java-json-tools/json-schema-validator

how to get all invalid fields in json-schema-validator for java application

Closed this issue · 2 comments

when I use validate(schema, instance) function to validate json instance, if this json instance includes multiple invalid fields, I only get one error message.
Is there any way we can get all invalid fields in one validate() function call?

Sorry, I find the validate() function has the third param can do that.

@ZuoJunLN Which library you are using for comparing the schema and how did you get the invalid fields. If you describe it would be helpful. Thanks a lot in advance!