public interface JsSpec
Modifier and Type | Method and Description |
---|---|
JsSpec |
nullable()
Returns the same spec with the nullable flag enabled
|
JsSpecParser |
parser()
Returns the deserializer used during the parsing process to parse an array of bytes or string
|
Set<SpecError> |
test(JsPath parentPath,
JsValue value)
verify if the given value satisfy this spec.
|
JsSpec nullable()
JsSpecParser parser()
Copyright © 2022. All rights reserved.