Uses of Interface
jsonvalues.spec.JsSpec
Packages that use JsSpec
Package
Description
This package includes all the classes to define specs to validate and parse JSON
-
Uses of JsSpec in jsonvalues.spec
Subinterfaces of JsSpec in jsonvalues.specModifier and TypeInterfaceDescriptioninterfaceRepresents a specification of a JSON arrayClasses in jsonvalues.spec that implement JsSpecModifier and TypeClassDescriptionfinal classRepresents a specification of a Json objectFields in jsonvalues.spec declared as JsSpecModifier and TypeFieldDescriptionstatic final JsSpecJsSpecs.FALSEfalse constant specstatic final JsSpecJsSpecs.TRUEtrue constant specMethods in jsonvalues.spec that return JsSpecModifier and TypeMethodDescriptionstatic JsSpecJsSpecs.any()spec that is conformed by any valuestatic JsSpecreturns a spec that conforms any value that is evaluated to true on the predicate.static JsSpecJsSpecs.bigInteger()non-nullable integral numberstatic JsSpecJsSpecs.bigInteger(Predicate<BigInteger> predicate) non-nullable integral number that satisfies the given predicatestatic JsSpecJsSpecs.binary()non-nullable array specstatic JsSpecnon-nullable json object that satisfies the given predicatestatic JsSpecJsSpecs.bool()non-nullable booleanstatic JsSpeca required and non nullable spec that specifies a constantstatic JsSpecJsSpecs.decimal()non-nullable decimal numberstatic JsSpecJsSpecs.decimal(Predicate<BigDecimal> predicate) non-nullable decimal number that satisfies the given predicatestatic JsSpecJsSpecs.instant()non-nullable array specstatic JsSpecnon-nullable json object that satisfies the given predicatestatic JsSpecJsSpecs.integer()non-nullable integer numberstatic JsSpecJsSpecs.integer(IntPredicate predicate) non-nullable integer number that satisfies the given predicatestatic JsSpecJsSpecs.longInteger()non-nullable long numberstatic JsSpecJsSpecs.longInteger(LongPredicate predicate) non-nullable long number that satisfies the given predicatestatic JsSpecJsSpecs.mapOfArray()returns a spec that validates that the JSON is an object and the value of each key is an arraystatic JsSpecJsSpecs.mapOfBigInteger()returns a spec that validates that the JSON is an object and the value of each key is a big integerstatic JsSpecJsSpecs.mapOfBool()returns a spec that validates that the JSON is an object and the value of each key is a booleanstatic JsSpecJsSpecs.mapOfDecimal()returns a spec that validates that the JSON is an object and the value of each key is a decimal numberstatic JsSpecJsSpecs.mapOfInstant()returns a spec that validates that the JSON is an object and the value of each key is an instantstatic JsSpecJsSpecs.mapOfInteger()returns a spec that validates that the JSON is an object and the value of each key is an integerstatic JsSpecJsSpecs.mapOfLong()returns a spec that validates that the JSON is an object and the value of each key is a long numberstatic JsSpecJsSpecs.mapOfObj()returns a spec that validates that the JSON is an object and the value of each key is an objectstatic JsSpecJsSpecs.mapOfStr()returns a spec that validates that the JSON is an object and the value of each key is a stringJsSpec.nullable()Returns the same spec with the nullable flag enabledstatic JsSpecJsSpecs.number()non-nullable number specstatic JsSpecnon-nullable number that satisfies the given predicatestatic JsSpecJsSpecs.obj()non-nullable json object specstatic JsSpecnon-nullable json object that satisfies the given predicatereturns an enum specstatic JsSpecJsSpecs.str()non-nullable stringstatic JsSpecJsSpecs.str(int min, int max) non-nullable string with the specified lengthstatic JsSpecnon-nullable string that satisfies the given predicatestatic JsSpecnon-nullable string with the specified patternMethods in jsonvalues.spec with parameters of type JsSpecModifier and TypeMethodDescriptionstatic JsObjSpecstatic JsObjSpecstatic JsObjSpecstatic JsObjSpecJsObjSpec.of(String key1, JsSpec spec1, String key2, JsSpec spec2, String key3, JsSpec spec3, String key4, JsSpec spec4) static JsObjSpecJsObjSpec.of(String key1, JsSpec spec1, String key2, JsSpec spec2, String key3, JsSpec spec3, String key4, JsSpec spec4, String key5, JsSpec spec5) static JsObjSpecJsObjSpec.of(String key1, JsSpec spec1, String key2, JsSpec spec2, String key3, JsSpec spec3, String key4, JsSpec spec4, String key5, JsSpec spec5, String key6, JsSpec spec6) static JsObjSpecJsObjSpec.of(String key1, JsSpec spec1, String key2, JsSpec spec2, String key3, JsSpec spec3, String key4, JsSpec spec4, String key5, JsSpec spec5, String key6, JsSpec spec6, String key7, JsSpec spec7) static JsObjSpecJsObjSpec.of(String key1, JsSpec spec1, String key2, JsSpec spec2, String key3, JsSpec spec3, String key4, JsSpec spec4, String key5, JsSpec spec5, String key6, JsSpec spec6, String key7, JsSpec spec7, String key8, JsSpec spec8) static JsObjSpecJsObjSpec.of(String key1, JsSpec spec1, String key2, JsSpec spec2, String key3, JsSpec spec3, String key4, JsSpec spec4, String key5, JsSpec spec5, String key6, JsSpec spec6, String key7, JsSpec spec7, String key8, JsSpec spec8, String key9, JsSpec spec9) static JsObjSpecJsObjSpec.of(String key1, JsSpec spec1, String key2, JsSpec spec2, String key3, JsSpec spec3, String key4, JsSpec spec4, String key5, JsSpec spec5, String key6, JsSpec spec6, String key7, JsSpec spec7, String key8, JsSpec spec8, String key9, JsSpec spec9, String key10, JsSpec spec10) static JsObjSpecJsObjSpec.of(String key1, JsSpec spec1, String key2, JsSpec spec2, String key3, JsSpec spec3, String key4, JsSpec spec4, String key5, JsSpec spec5, String key6, JsSpec spec6, String key7, JsSpec spec7, String key8, JsSpec spec8, String key9, JsSpec spec9, String key10, JsSpec spec10, String key11, JsSpec spec11) static JsObjSpecJsObjSpec.of(String key1, JsSpec spec1, String key2, JsSpec spec2, String key3, JsSpec spec3, String key4, JsSpec spec4, String key5, JsSpec spec5, String key6, JsSpec spec6, String key7, JsSpec spec7, String key8, JsSpec spec8, String key9, JsSpec spec9, String key10, JsSpec spec10, String key11, JsSpec spec11, String key12, JsSpec spec12) static JsObjSpecJsObjSpec.of(String key1, JsSpec spec1, String key2, JsSpec spec2, String key3, JsSpec spec3, String key4, JsSpec spec4, String key5, JsSpec spec5, String key6, JsSpec spec6, String key7, JsSpec spec7, String key8, JsSpec spec8, String key9, JsSpec spec9, String key10, JsSpec spec10, String key11, JsSpec spec11, String key12, JsSpec spec12, String key13, JsSpec spec13) static JsObjSpecJsObjSpec.of(String key1, JsSpec spec1, String key2, JsSpec spec2, String key3, JsSpec spec3, String key4, JsSpec spec4, String key5, JsSpec spec5, String key6, JsSpec spec6, String key7, JsSpec spec7, String key8, JsSpec spec8, String key9, JsSpec spec9, String key10, JsSpec spec10, String key11, JsSpec spec11, String key12, JsSpec spec12, String key13, JsSpec spec13, String key14, JsSpec spec14) static JsObjSpecJsObjSpec.of(String key1, JsSpec spec1, String key2, JsSpec spec2, String key3, JsSpec spec3, String key4, JsSpec spec4, String key5, JsSpec spec5, String key6, JsSpec spec6, String key7, JsSpec spec7, String key8, JsSpec spec8, String key9, JsSpec spec9, String key10, JsSpec spec10, String key11, JsSpec spec11, String key12, JsSpec spec12, String key13, JsSpec spec13, String key14, JsSpec spec14, String key15, JsSpec spec15) static JsObjSpecJsObjSpec.of(String key1, JsSpec spec1, String key2, JsSpec spec2, String key3, JsSpec spec3, String key4, JsSpec spec4, String key5, JsSpec spec5, String key6, JsSpec spec6, String key7, JsSpec spec7, String key8, JsSpec spec8, String key9, JsSpec spec9, String key10, JsSpec spec10, String key11, JsSpec spec11, String key12, JsSpec spec12, String key13, JsSpec spec13, String key14, JsSpec spec14, String key15, JsSpec spec15, String key16, JsSpec spec16) static JsObjSpecJsObjSpec.of(String key1, JsSpec spec1, String key2, JsSpec spec2, String key3, JsSpec spec3, String key4, JsSpec spec4, String key5, JsSpec spec5, String key6, JsSpec spec6, String key7, JsSpec spec7, String key8, JsSpec spec8, String key9, JsSpec spec9, String key10, JsSpec spec10, String key11, JsSpec spec11, String key12, JsSpec spec12, String key13, JsSpec spec13, String key14, JsSpec spec14, String key15, JsSpec spec15, String key16, JsSpec spec16, String key17, JsSpec spec17) static JsObjSpecJsObjSpec.of(String key1, JsSpec spec1, String key2, JsSpec spec2, String key3, JsSpec spec3, String key4, JsSpec spec4, String key5, JsSpec spec5, String key6, JsSpec spec6, String key7, JsSpec spec7, String key8, JsSpec spec8, String key9, JsSpec spec9, String key10, JsSpec spec10, String key11, JsSpec spec11, String key12, JsSpec spec12, String key13, JsSpec spec13, String key14, JsSpec spec14, String key15, JsSpec spec15, String key16, JsSpec spec16, String key17, JsSpec spec17, String key18, JsSpec spec18) static JsObjSpecJsObjSpec.of(String key1, JsSpec spec1, String key2, JsSpec spec2, String key3, JsSpec spec3, String key4, JsSpec spec4, String key5, JsSpec spec5, String key6, JsSpec spec6, String key7, JsSpec spec7, String key8, JsSpec spec8, String key9, JsSpec spec9, String key10, JsSpec spec10, String key11, JsSpec spec11, String key12, JsSpec spec12, String key13, JsSpec spec13, String key14, JsSpec spec14, String key15, JsSpec spec15, String key16, JsSpec spec16, String key17, JsSpec spec17, String key18, JsSpec spec18, String key19, JsSpec spec19) static JsObjSpecJsObjSpec.of(String key1, JsSpec spec1, String key2, JsSpec spec2, String key3, JsSpec spec3, String key4, JsSpec spec4, String key5, JsSpec spec5, String key6, JsSpec spec6, String key7, JsSpec spec7, String key8, JsSpec spec8, String key9, JsSpec spec9, String key10, JsSpec spec10, String key11, JsSpec spec11, String key12, JsSpec spec12, String key13, JsSpec spec13, String key14, JsSpec spec14, String key15, JsSpec spec15, String key16, JsSpec spec16, String key17, JsSpec spec17, String key18, JsSpec spec18, String key19, JsSpec spec19, String key20, JsSpec spec20) add the given key spec to thisstatic jsonvalues.spec.JsTupleSpecreturns a tuple spec.Constructors in jsonvalues.spec with parameters of type JsSpec