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 booleanisRequired()Returns whether the key is optional.JsSpecnullable()Returns the same spec with the nullable flag enabledJsSpecoptional()Returns the same spec with the optional flag enabledJsSpecParserparser()Returns the deserializer used during the parsing process to parse an array of bytes or stringjava.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()
Description copied from interface:JsSpecReturns whether the key is optional.- Specified by:
isRequiredin interfaceJsSpec- Returns:
- whether the key is optional.
-
nullable
public JsSpec nullable()
Description copied from interface:JsSpecReturns the same spec with the nullable flag enabled
-
optional
public JsSpec optional()
Description copied from interface:JsSpecReturns the same spec with the optional flag enabled
-
parser
public JsSpecParser parser()
Description copied from interface:JsSpecReturns the deserializer used during the parsing process to parse an array of bytes or string
-
test
public java.util.Set<JsErrorPair> test(JsPath parentPath, JsValue value)
Description copied from interface:JsSpecverify if the given value satisfy this spec.
-
-