Package jsonvalues.spec
Class JsArrayOfJsObjSpec
- java.lang.Object
-
- jsonvalues.spec.JsArrayOfJsObjSpec
-
- All Implemented Interfaces:
JsArraySpec
,JsSpec
public class JsArrayOfJsObjSpec extends java.lang.Object implements JsSpec, JsArraySpec
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isRequired()
JsSpec
nullable()
JsSpec
optional()
JsSpecParser
parser()
java.util.Set<JsErrorPair>
test(JsPath parentPath, JsValue value)
verify if the given value satisfy this spec.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jsonvalues.spec.JsArraySpec
test
-
-
-
-
Method Detail
-
isRequired
public boolean isRequired()
- Specified by:
isRequired
in interfaceJsSpec
- Returns:
- whether or not the key is optional.
-
nullable
public JsSpec nullable()
-
optional
public JsSpec optional()
-
parser
public JsSpecParser parser()
-
test
public java.util.Set<JsErrorPair> test(JsPath parentPath, JsValue value)
Description copied from interface:JsSpec
verify if the given value satisfy this spec.
-
-