Uses of Class
jsonvalues.JsObj
-
Packages that use JsObj Package Description com.dslplatform.json jsonvalues json-values is a one-package and zero-dependency library to work with jsons in a declarative and functional way.jsonvalues.gen jsonvalues.spec -
-
Uses of JsObj in com.dslplatform.json
Methods in com.dslplatform.json that return JsObj Modifier and Type Method Description JsObj
MyDslJson. parseToJsObj(byte[] bytes, JsSpecParser parser)
JsObj
MyDslJson. parseToJsObj(java.io.InputStream is, JsSpecParser parser)
Method parameters in com.dslplatform.json with type arguments of type JsObj Modifier and Type Method Description JsSpecParser
JsSpecParsers. ofArrayOfObjEachSuchThat(java.util.function.Function<JsObj,java.util.Optional<Error>> p, boolean nullable)
JsSpecParser
JsSpecParsers. ofObjSuchThat(java.util.function.Function<JsObj,java.util.Optional<Error>> predicate, boolean nullable)
-
Uses of JsObj in jsonvalues
Fields in jsonvalues declared as JsObj Modifier and Type Field Description static JsObj
JsObj. EMPTY
Fields in jsonvalues with type parameters of type JsObj Modifier and Type Field Description static Prism<JsValue,JsObj>
JsObj. prism
prism between the sum type JsValue and JsObjMethods in jsonvalues that return JsObj Modifier and Type Method Description JsObj
JsObj. delete(java.lang.String key)
JsObj
JsObj. delete(JsPath path)
static JsObj
JsObj. empty()
JsObj
JsObj. filterAllKeys(java.util.function.BiPredicate<? super JsPath,? super JsValue> filter)
JsObj
JsObj. filterAllKeys(java.util.function.Predicate<? super java.lang.String> filter)
JsObj
JsObj. filterAllObjs(java.util.function.BiPredicate<? super JsPath,? super JsObj> filter)
JsObj
JsObj. filterAllObjs(java.util.function.Predicate<? super JsObj> filter)
JsObj
JsObj. filterAllValues(java.util.function.BiPredicate<? super JsPath,? super JsPrimitive> filter)
JsObj
JsObj. filterAllValues(java.util.function.Predicate<? super JsPrimitive> filter)
JsObj
JsObj. filterKeys(java.util.function.BiPredicate<? super java.lang.String,? super JsValue> filter)
JsObj
JsObj. filterKeys(java.util.function.Predicate<? super java.lang.String> filter)
JsObj
JsObj. filterObjs(java.util.function.BiPredicate<? super java.lang.String,? super JsObj> filter)
JsObj
JsObj. filterObjs(java.util.function.Predicate<? super JsObj> filter)
JsObj
JsObj. filterValues(java.util.function.BiPredicate<? super java.lang.String,? super JsPrimitive> filter)
JsObj
JsObj. filterValues(java.util.function.Predicate<? super JsPrimitive> filter)
JsObj
JsArray. getObj(int index)
Returns the object located at the given index or null if it doesn't exist or it's not a json object.JsObj
JsObj. getObj(java.lang.String key)
Returns the json object located at the given key or null if it doesn't exist or it's not an object.default JsObj
Json. getObj(JsPath path)
Returns the object located at the given path or null if it doesn't exist or it's not an object.JsObj
JsObj. intersection(JsObj that, JsArray.TYPE ARRAY_AS)
this.intersection(that, SET)
returns an array with the elements that exist in boththis
andthat
this.intersection(that, MULTISET)
returns an array with the elements that exist in boththis
andthat
, being duplicates allowed.JsObj
JsObj. intersectionAll(JsObj that, JsArray.TYPE ARRAY_AS)
this.intersectionAll(that)
behaves asthis.intersection(that, LIST)
, but for those elements that are containers of the same type and are located at the same position, the result is their intersection.JsObj
JsObj. mapAllKeys(java.util.function.BiFunction<? super JsPath,? super JsValue,java.lang.String> fn)
JsObj
JsObj. mapAllKeys(java.util.function.Function<? super java.lang.String,java.lang.String> fn)
JsObj
JsObj. mapAllObjs(java.util.function.BiFunction<? super JsPath,? super JsObj,JsValue> fn)
JsObj
JsObj. mapAllObjs(java.util.function.Function<? super JsObj,JsValue> fn)
JsObj
JsObj. mapAllValues(java.util.function.BiFunction<? super JsPath,? super JsPrimitive,? extends JsValue> fn)
JsObj
JsObj. mapAllValues(java.util.function.Function<? super JsPrimitive,? extends JsValue> fn)
JsObj
JsObj. mapKeys(java.util.function.BiFunction<? super java.lang.String,? super JsValue,java.lang.String> fn)
JsObj
JsObj. mapKeys(java.util.function.Function<? super java.lang.String,java.lang.String> fn)
JsObj
JsObj. mapObjs(java.util.function.BiFunction<? super java.lang.String,? super JsObj,JsValue> fn)
JsObj
JsObj. mapObjs(java.util.function.Function<? super JsObj,JsValue> fn)
JsObj
JsObj. mapValues(java.util.function.BiFunction<? super java.lang.String,? super JsPrimitive,? extends JsValue> fn)
JsObj
JsObj. mapValues(java.util.function.Function<? super JsPrimitive,? extends JsValue> fn)
static JsObj
JsObj. of(java.lang.String key, JsValue el)
Returns a one-element immutable object.static JsObj
JsObj. of(java.lang.String key1, JsValue el1, java.lang.String key2, JsValue el2)
Returns a two-element immutable object.static JsObj
JsObj. of(java.lang.String key1, JsValue el1, java.lang.String key2, JsValue el2, java.lang.String key3, JsValue el3)
Returns a three-element immutable object.static JsObj
JsObj. of(java.lang.String key1, JsValue el1, java.lang.String key2, JsValue el2, java.lang.String key3, JsValue el3, java.lang.String key4, JsValue el4)
Returns a four-element immutable object.static JsObj
JsObj. of(java.lang.String key1, JsValue el1, java.lang.String key2, JsValue el2, java.lang.String key3, JsValue el3, java.lang.String key4, JsValue el4, java.lang.String key5, JsValue el5)
Returns a five-element immutable object.static JsObj
JsObj. of(java.lang.String key1, JsValue el1, java.lang.String key2, JsValue el2, java.lang.String key3, JsValue el3, java.lang.String key4, JsValue el4, java.lang.String key5, JsValue el5, java.lang.String key6, JsValue el6)
Returns a six-element immutable object.static JsObj
JsObj. of(java.lang.String key1, JsValue el1, java.lang.String key2, JsValue el2, java.lang.String key3, JsValue el3, java.lang.String key4, JsValue el4, java.lang.String key5, JsValue el5, java.lang.String key6, JsValue el6, java.lang.String key7, JsValue el7)
Returns a six-element immutable object.static JsObj
JsObj. of(java.lang.String key1, JsValue el1, java.lang.String key2, JsValue el2, java.lang.String key3, JsValue el3, java.lang.String key4, JsValue el4, java.lang.String key5, JsValue el5, java.lang.String key6, JsValue el6, java.lang.String key7, JsValue el7, java.lang.String key8, JsValue el8)
Returns a six-element immutable object.static JsObj
JsObj. of(java.lang.String key1, JsValue el1, java.lang.String key2, JsValue el2, java.lang.String key3, JsValue el3, java.lang.String key4, JsValue el4, java.lang.String key5, JsValue el5, java.lang.String key6, JsValue el6, java.lang.String key7, JsValue el7, java.lang.String key8, JsValue el8, java.lang.String key9, JsValue el9)
Returns a six-element immutable object.static JsObj
JsObj. of(java.lang.String key1, JsValue el1, java.lang.String key2, JsValue el2, java.lang.String key3, JsValue el3, java.lang.String key4, JsValue el4, java.lang.String key5, JsValue el5, java.lang.String key6, JsValue el6, java.lang.String key7, JsValue el7, java.lang.String key8, JsValue el8, java.lang.String key9, JsValue el9, java.lang.String key10, JsValue el10)
Returns a six-element immutable object.static JsObj
JsObj. of(java.lang.String key1, JsValue el1, java.lang.String key2, JsValue el2, java.lang.String key3, JsValue el3, java.lang.String key4, JsValue el4, java.lang.String key5, JsValue el5, java.lang.String key6, JsValue el6, java.lang.String key7, JsValue el7, java.lang.String key8, JsValue el8, java.lang.String key9, JsValue el9, java.lang.String key10, JsValue el10, java.lang.String key11, JsValue el11)
Returns a six-element immutable object.static JsObj
JsObj. of(java.lang.String key1, JsValue el1, java.lang.String key2, JsValue el2, java.lang.String key3, JsValue el3, java.lang.String key4, JsValue el4, java.lang.String key5, JsValue el5, java.lang.String key6, JsValue el6, java.lang.String key7, JsValue el7, java.lang.String key8, JsValue el8, java.lang.String key9, JsValue el9, java.lang.String key10, JsValue el10, java.lang.String key11, JsValue el11, java.lang.String key12, JsValue el12)
Returns a six-element immutable object.static JsObj
JsObj. of(java.lang.String key1, JsValue el1, java.lang.String key2, JsValue el2, java.lang.String key3, JsValue el3, java.lang.String key4, JsValue el4, java.lang.String key5, JsValue el5, java.lang.String key6, JsValue el6, java.lang.String key7, JsValue el7, java.lang.String key8, JsValue el8, java.lang.String key9, JsValue el9, java.lang.String key10, JsValue el10, java.lang.String key11, JsValue el11, java.lang.String key12, JsValue el12, java.lang.String key13, JsValue el13)
Returns a six-element immutable object.static JsObj
JsObj. of(java.lang.String key1, JsValue el1, java.lang.String key2, JsValue el2, java.lang.String key3, JsValue el3, java.lang.String key4, JsValue el4, java.lang.String key5, JsValue el5, java.lang.String key6, JsValue el6, java.lang.String key7, JsValue el7, java.lang.String key8, JsValue el8, java.lang.String key9, JsValue el9, java.lang.String key10, JsValue el10, java.lang.String key11, JsValue el11, java.lang.String key12, JsValue el12, java.lang.String key13, JsValue el13, java.lang.String key14, JsValue el14)
Returns a six-element immutable object.static JsObj
JsObj. of(java.lang.String key1, JsValue el1, java.lang.String key2, JsValue el2, java.lang.String key3, JsValue el3, java.lang.String key4, JsValue el4, java.lang.String key5, JsValue el5, java.lang.String key6, JsValue el6, java.lang.String key7, JsValue el7, java.lang.String key8, JsValue el8, java.lang.String key9, JsValue el9, java.lang.String key10, JsValue el10, java.lang.String key11, JsValue el11, java.lang.String key12, JsValue el12, java.lang.String key13, JsValue el13, java.lang.String key14, JsValue el14, java.lang.String key15, JsValue el15)
Returns a six-element immutable object.static JsObj
JsObj. of(JsPair pair, JsPair... others)
Returns an immutable object from one or more pairs.static JsObj
JsObj. ofIterable(java.lang.Iterable<java.util.Map.Entry<java.lang.String,JsValue>> xs)
static JsObj
JsObj. parse(java.lang.String str)
Tries to parse the string into an immutable object.static JsObj
JsObj. parseYaml(java.lang.String str)
Tries to parse a YAML string into an immutable object.JsObj
JsObj. set(java.lang.String key, JsValue value)
Inserts the element at the key in this json, replacing any existing element.JsObj
JsObj. set(JsPath path, JsValue element)
JsObj
JsObj. set(JsPath path, JsValue value, JsValue padElement)
JsObj
JsObj. tail()
Returns a new object with all the entries of this json object except the one with the given key.default JsObj
JsValue. toJsObj()
JsObj
JsObj. union(JsObj that)
returnsthis
json object plus those pairs from the given json objectthat
which keys don't exist inthis
.JsObj
JsObj. unionAll(JsObj that, JsArray.TYPE ARRAY_AS)
behaves like theunion(JsObj)
but, for those keys that exit in boththis
andthat
json objects, which associated elements are **containers of the same type**, the result is their union.Methods in jsonvalues that return types with arguments of type JsObj Modifier and Type Method Description Lens<JsObj,JsArray>
JsOptics.JsObjLenses. array(java.lang.String key)
lens that focus on a json array located at a key in an object.Lens<JsObj,JsArray>
JsOptics.JsObjLenses. array(JsPath path)
lens that focus on a json object located at a path in an object.Option<JsObj,JsArray>
JsOptics.JsObjOptional. array(java.lang.String key)
optional that focus on the array located at a key in an objectOption<JsObj,JsArray>
JsOptics.JsObjOptional. array(JsPath path)
optional that focus on the array located at a path in an objectLens<JsObj,byte[]>
JsOptics.JsObjLenses. binary(java.lang.String key)
lens that focus on an array of bytes located at a key in an object.Lens<JsObj,byte[]>
JsOptics.JsObjLenses. binary(JsPath path)
lens that focus on an array of bytes located at a path in an object.Option<JsObj,byte[]>
JsOptics.JsObjOptional. binary(java.lang.String key)
optional that focus on the array of bytes located at a key in an objectOption<JsObj,byte[]>
JsOptics.JsObjOptional. binary(JsPath path)
optional that focus on the array of bytes located at a path in an objectLens<JsObj,java.lang.Boolean>
JsOptics.JsObjLenses. bool(java.lang.String key)
lens that focus on a boolean located at a path in an object.Lens<JsObj,java.lang.Boolean>
JsOptics.JsObjLenses. bool(JsPath path)
lens that focus on a boolean located at a path in an object.Option<JsObj,java.lang.Boolean>
JsOptics.JsObjOptional. bool(java.lang.String key)
optional that focus on the boolean located at a key in an objectOption<JsObj,java.lang.Boolean>
JsOptics.JsObjOptional. bool(JsPath path)
optional that focus on the boolean located at a path in an objectLens<JsObj,java.math.BigDecimal>
JsOptics.JsObjLenses. decimalNum(java.lang.String key)
lens that focus on a decimal number located at a key in an object.Lens<JsObj,java.math.BigDecimal>
JsOptics.JsObjLenses. decimalNum(JsPath path)
lens that focus on a decimal number located at a path in an object.Option<JsObj,java.math.BigDecimal>
JsOptics.JsObjOptional. decimalNum(java.lang.String key)
optional that focus on the decimal number located at a key in an objectOption<JsObj,java.math.BigDecimal>
JsOptics.JsObjOptional. decimalNum(JsPath path)
optional that focus on the decimal number located at a path in an objectLens<JsObj,java.lang.Double>
JsOptics.JsObjLenses. doubleNum(java.lang.String key)
lens that focus on a double number located at a key in an object.Lens<JsObj,java.lang.Double>
JsOptics.JsObjLenses. doubleNum(JsPath path)
lens that focus on a double number located at a path in an object.Option<JsObj,java.lang.Double>
JsOptics.JsObjOptional. doubleNum(java.lang.String key)
optional that focus on the double number located at a key in an objectOption<JsObj,java.lang.Double>
JsOptics.JsObjOptional. doubleNum(JsPath path)
optional that focus on the double number located at a path in an objectLens<JsObj,java.time.Instant>
JsOptics.JsObjLenses. instant(java.lang.String key)
lens that focus on an instant located at a key in an object.Lens<JsObj,java.time.Instant>
JsOptics.JsObjLenses. instant(JsPath path)
lens that focus on an instant located at a path in an object.Option<JsObj,java.time.Instant>
JsOptics.JsObjOptional. instant(java.lang.String key)
optional that focus on the instant located at a key in an objectOption<JsObj,java.time.Instant>
JsOptics.JsObjOptional. instant(JsPath path)
optional that focus on the instant located at a path in an objectLens<JsObj,java.math.BigInteger>
JsOptics.JsObjLenses. integralNum(java.lang.String key)
lens that focus on a integral number located at a key in an object.Lens<JsObj,java.math.BigInteger>
JsOptics.JsObjLenses. integralNum(JsPath path)
lens that focus on a integral number located at a path in an object.Option<JsObj,java.math.BigInteger>
JsOptics.JsObjOptional. integralNum(java.lang.String key)
optional that focus on the bigint number located at a path in an objectOption<JsObj,java.math.BigInteger>
JsOptics.JsObjOptional. integralNum(JsPath path)
optional that focus on the integral number located at a path in an objectLens<JsObj,java.lang.Integer>
JsOptics.JsObjLenses. intNum(java.lang.String key)
lens that focus on a integer number located at a key in an object.Lens<JsObj,java.lang.Integer>
JsOptics.JsObjLenses. intNum(JsPath path)
lens that focus on a integer number located at a path in an object.Option<JsObj,java.lang.Integer>
JsOptics.JsObjOptional. intNum(java.lang.String key)
optional that focus on the integer number located at a key in an objectOption<JsObj,java.lang.Integer>
JsOptics.JsObjOptional. intNum(JsPath path)
optional that focus on the integer number located at a path in an objectLens<JsObj,java.lang.Long>
JsOptics.JsObjLenses. longNum(java.lang.String key)
lens that focus on a long number located at a key in an object.Lens<JsObj,java.lang.Long>
JsOptics.JsObjLenses. longNum(JsPath path)
lens that focus on a long number located at a path in an object.Option<JsObj,java.lang.Long>
JsOptics.JsObjOptional. longNum(java.lang.String key)
optional that focus on the long number located at a key in an objectOption<JsObj,java.lang.Long>
JsOptics.JsObjOptional. longNum(JsPath path)
optional that focus on the long number located at a path in an objectLens<JsArray,JsObj>
JsOptics.JsArrayLenses. obj(int index)
lens that focus on the json object located at an index in an arrayLens<JsArray,JsObj>
JsOptics.JsArrayLenses. obj(JsPath path)
lens that focus on the json object located at a path in an arrayOption<JsArray,JsObj>
JsOptics.JsArrayOptionals. obj(int index)
optional that focus on the json object located at an index in an arrayOption<JsArray,JsObj>
JsOptics.JsArrayOptionals. obj(JsPath path)
optional that focus on the object located at a path in an arrayLens<JsObj,JsObj>
JsOptics.JsObjLenses. obj(java.lang.String key)
lens that focus on a json object located at a key in an object.Lens<JsObj,JsObj>
JsOptics.JsObjLenses. obj(java.lang.String key)
lens that focus on a json object located at a key in an object.Lens<JsObj,JsObj>
JsOptics.JsObjLenses. obj(JsPath path)
lens that focus on a json object located at a path in an object.Lens<JsObj,JsObj>
JsOptics.JsObjLenses. obj(JsPath path)
lens that focus on a json object located at a path in an object.Option<JsObj,JsObj>
JsOptics.JsObjOptional. obj(java.lang.String key)
optional that focus on the object located at a key in an objectOption<JsObj,JsObj>
JsOptics.JsObjOptional. obj(java.lang.String key)
optional that focus on the object located at a key in an objectOption<JsObj,JsObj>
JsOptics.JsObjOptional. obj(JsPath path)
optional that focus on the object located at a path in an objectOption<JsObj,JsObj>
JsOptics.JsObjOptional. obj(JsPath path)
optional that focus on the object located at a path in an objectLens<JsObj,java.lang.String>
JsOptics.JsObjLenses. str(java.lang.String key)
lens that focus on a string located at a key in an object.Lens<JsObj,java.lang.String>
JsOptics.JsObjLenses. str(JsPath path)
lens that focus on a string located at a path in an object.Option<JsObj,java.lang.String>
JsOptics.JsObjOptional. str(java.lang.String key)
optional that focus on the string located at a key in an objectOption<JsObj,java.lang.String>
JsOptics.JsObjOptional. str(JsPath path)
optional that focus on the string located at a path in an objectLens<JsObj,JsValue>
JsOptics.JsObjLenses. value(java.lang.String key)
lens that focus on a value located at a key in an object.Lens<JsObj,JsValue>
JsOptics.JsObjLenses. value(JsPath path)
lens that focus on a value located at a path in an object.Methods in jsonvalues with parameters of type JsObj Modifier and Type Method Description boolean
JsObj. equals(JsObj that, JsArray.TYPE ARRAY_AS)
return true if this obj is equal to the given as a parameter.JsObj
JsObj. intersection(JsObj that, JsArray.TYPE ARRAY_AS)
this.intersection(that, SET)
returns an array with the elements that exist in boththis
andthat
this.intersection(that, MULTISET)
returns an array with the elements that exist in boththis
andthat
, being duplicates allowed.JsObj
JsObj. intersectionAll(JsObj that, JsArray.TYPE ARRAY_AS)
this.intersectionAll(that)
behaves asthis.intersection(that, LIST)
, but for those elements that are containers of the same type and are located at the same position, the result is their intersection.JsObj
JsObj. union(JsObj that)
returnsthis
json object plus those pairs from the given json objectthat
which keys don't exist inthis
.JsObj
JsObj. unionAll(JsObj that, JsArray.TYPE ARRAY_AS)
behaves like theunion(JsObj)
but, for those keys that exit in boththis
andthat
json objects, which associated elements are **containers of the same type**, the result is their union.Method parameters in jsonvalues with type arguments of type JsObj Modifier and Type Method Description JsArray
JsArray. filterAllObjs(java.util.function.BiPredicate<? super JsPath,? super JsObj> filter)
JsArray
JsArray. filterAllObjs(java.util.function.Predicate<? super JsObj> filter)
JsObj
JsObj. filterAllObjs(java.util.function.BiPredicate<? super JsPath,? super JsObj> filter)
JsObj
JsObj. filterAllObjs(java.util.function.Predicate<? super JsObj> filter)
T
Json. filterAllObjs(java.util.function.BiPredicate<? super JsPath,? super JsObj> filter)
Filters all the pair of jsons of this json, removing those that don't ifPredicateElse the predicate.T
Json. filterAllObjs(java.util.function.Predicate<? super JsObj> filter)
Filters all the pair of jsons of this json, removing those that don't ifPredicateElse the predicate.JsArray
JsArray. filterObjs(java.util.function.BiPredicate<? super java.lang.Integer,? super JsObj> filter)
JsArray
JsArray. filterObjs(java.util.function.Predicate<? super JsObj> filter)
JsObj
JsObj. filterObjs(java.util.function.BiPredicate<? super java.lang.String,? super JsObj> filter)
JsObj
JsObj. filterObjs(java.util.function.Predicate<? super JsObj> filter)
T
Json. filterObjs(java.util.function.Predicate<? super JsObj> filter)
Filters the pair of jsons in the first level of this json, removing those that don't ifPredicateElse the predicate.default boolean
JsValue. isObj(java.util.function.Predicate<JsObj> predicate)
Returns true if this elem is a JsObj and satisfies the given predicateJsArray
JsArray. mapAllObjs(java.util.function.BiFunction<? super JsPath,? super JsObj,JsValue> fn)
JsArray
JsArray. mapAllObjs(java.util.function.Function<? super JsObj,JsValue> fn)
JsObj
JsObj. mapAllObjs(java.util.function.BiFunction<? super JsPath,? super JsObj,JsValue> fn)
JsObj
JsObj. mapAllObjs(java.util.function.Function<? super JsObj,JsValue> fn)
T
Json. mapAllObjs(java.util.function.BiFunction<? super JsPath,? super JsObj,JsValue> fn)
Maps all the jsons of this json.T
Json. mapAllObjs(java.util.function.Function<? super JsObj,JsValue> fn)
Maps all the jsons of this json.JsArray
JsArray. mapObjs(java.util.function.BiFunction<? super java.lang.Integer,? super JsObj,JsValue> fn)
JsArray
JsArray. mapObjs(java.util.function.Function<? super JsObj,JsValue> fn)
JsObj
JsObj. mapObjs(java.util.function.BiFunction<? super java.lang.String,? super JsObj,JsValue> fn)
JsObj
JsObj. mapObjs(java.util.function.Function<? super JsObj,JsValue> fn)
T
Json. mapObjs(java.util.function.Function<? super JsObj,JsValue> fn)
Maps the jsons in the first level of this json. -
Uses of JsObj in jsonvalues.gen
Methods in jsonvalues.gen that return types with arguments of type JsObj Modifier and Type Method Description java.util.function.Supplier<JsObj>
JsObjGen. apply(java.util.Random random)
-
Uses of JsObj in jsonvalues.spec
Methods in jsonvalues.spec that return JsObj Modifier and Type Method Description JsObj
JsObjParser. parse(byte[] bytes)
parses an array of bytes into a Json object that must conform the spec of the parser.JsObj
JsObjParser. parse(java.io.InputStream inputstream)
parses an input stream of bytes into a Json object that must conform the spec of the parser.JsObj
JsObjParser. parse(java.lang.String str)
parses a string into a Json object that must conform the spec of the parser.Methods in jsonvalues.spec with parameters of type JsObj Modifier and Type Method Description java.util.Set<JsErrorPair>
JsObjSpec. test(JsObj obj)
Method parameters in jsonvalues.spec with type arguments of type JsObj Modifier and Type Method Description static JsArraySpec
JsSpecs. arrayOfObj(java.util.function.Predicate<JsObj> predicate)
non-nullable array of objects, where each element of the array satisfies the given predicatestatic JsSpec
JsSpecs. obj(java.util.function.Predicate<JsObj> predicate)
non-nullable json object that satisfies the given predicate
-