Package | Description |
---|---|
jsonvalues.spec |
The `jsonvalues.spec` package provides classes and interfaces for defining and working with JSON specifications (specs) and parsers.
|
Modifier and Type | Method and Description |
---|---|
Set<SpecError> |
JsSpec.test(JsPath parentPath,
JsValue value)
Verify if the given JSON value satisfies this spec.
|
Set<SpecError> |
JsObjSpec.test(JsPath parentPath,
JsValue value)
Validates a given JSON object against this JsObjSpec and returns a set of validation errors, if any.
|
default Set<SpecError> |
JsSpec.test(JsValue value)
Verify if the given JSON value satisfies this spec, starting from the root path.
|
Copyright © 2023. All rights reserved.