This code sample shows how to validate a JSON document while unmarshalling the JSON document into a Plain Old Java Object, using Jakarta JSON Binding API.
Follow the instructions shown in README in the repository root.
Navigate to the generated target
or build
directory.
$ ./run.sh <path/to/JSON schema> <path/to/JSON instance>