Uses of Class
jsonvalues.JsPrimitive
-
Packages that use JsPrimitive Package Description jsonvalues json-values is a one-package and zero-dependency library to work with jsons in a declarative and functional way. -
-
Uses of JsPrimitive in jsonvalues
Subclasses of JsPrimitive in jsonvalues Modifier and Type Class Description class
JsBigDec
Represents an immutable json number of type BigDecimal.class
JsBigInt
Represents an immutable json number of type BigInteger.class
JsBinary
Represents an array of bytes.class
JsBool
Represents an immutable json boolean.class
JsDouble
Represents an immutable json number of type double.class
JsInstant
Represents an immutable instant.class
JsInt
Represents an immutable json number of type integer.class
JsLong
Represents an immutable json number of type long.class
JsNull
Represents null, which a valid json value.class
JsNumber
Represents an immutable json number.class
JsStr
Represents an immutable json string.Methods in jsonvalues that return JsPrimitive Modifier and Type Method Description JsPrimitive
JsBinary. toJsPrimitive()
JsPrimitive
JsBool. toJsPrimitive()
JsPrimitive
JsInstant. toJsPrimitive()
JsPrimitive
JsNothing. toJsPrimitive()
JsPrimitive
JsNull. toJsPrimitive()
JsPrimitive
JsNumber. toJsPrimitive()
default JsPrimitive
Json. toJsPrimitive()
JsPrimitive
JsStr. toJsPrimitive()
JsPrimitive
JsValue. toJsPrimitive()
Method parameters in jsonvalues with type arguments of type JsPrimitive Modifier and Type Method Description JsArray
JsArray. filterAllValues(BiPredicate<? super JsPath,? super JsPrimitive> filter)
JsArray
JsArray. filterAllValues(Predicate<? super JsPrimitive> filter)
JsObj
JsObj. filterAllValues(BiPredicate<? super JsPath,? super JsPrimitive> filter)
JsObj
JsObj. filterAllValues(Predicate<? super JsPrimitive> filter)
T
Json. filterAllValues(BiPredicate<? super JsPath,? super JsPrimitive> filter)
Filters all the pairs of elements of this json, removing those that don't ifPredicateElse the predicate.T
Json. filterAllValues(Predicate<? super JsPrimitive> filter)
Filters all the pairs of elements of this json, removing those that don't ifPredicateElse the predicate.JsArray
JsArray. filterValues(BiPredicate<? super Integer,? super JsPrimitive> filter)
JsArray
JsArray. filterValues(Predicate<? super JsPrimitive> filter)
JsObj
JsObj. filterValues(BiPredicate<? super String,? super JsPrimitive> filter)
JsObj
JsObj. filterValues(Predicate<? super JsPrimitive> filter)
T
Json. filterValues(Predicate<? super JsPrimitive> filter)
Filters the pairs of elements in the first level of this json, removing those that don't ifPredicateElse the predicate.JsArray
JsArray. mapAllValues(BiFunction<? super JsPath,? super JsPrimitive,? extends JsValue> fn)
JsArray
JsArray. mapAllValues(Function<? super JsPrimitive,? extends JsValue> fn)
JsObj
JsObj. mapAllValues(BiFunction<? super JsPath,? super JsPrimitive,? extends JsValue> fn)
JsObj
JsObj. mapAllValues(Function<? super JsPrimitive,? extends JsValue> fn)
T
Json. mapAllValues(BiFunction<? super JsPath,? super JsPrimitive,? extends JsValue> fn)
Maps all the values of this json.T
Json. mapAllValues(Function<? super JsPrimitive,? extends JsValue> fn)
Maps all the values of this json.JsArray
JsArray. mapValues(BiFunction<? super Integer,? super JsPrimitive,? extends JsValue> fn)
JsArray
JsArray. mapValues(Function<? super JsPrimitive,? extends JsValue> fn)
JsObj
JsObj. mapValues(BiFunction<? super String,? super JsPrimitive,? extends JsValue> fn)
JsObj
JsObj. mapValues(Function<? super JsPrimitive,? extends JsValue> fn)
T
Json. mapValues(Function<? super JsPrimitive,? extends JsValue> fn)
Maps the values in the first level of this json.<R> Optional<R>
JsArray. reduce(BinaryOperator<R> op, BiFunction<? super Integer,? super JsPrimitive,R> map, BiPredicate<? super Integer,? super JsPrimitive> predicate)
<R> Optional<R>
JsArray. reduce(BinaryOperator<R> op, BiFunction<? super Integer,? super JsPrimitive,R> map, BiPredicate<? super Integer,? super JsPrimitive> predicate)
<R> Optional<R>
JsArray. reduce(BinaryOperator<R> op, Function<? super JsPrimitive,R> map, Predicate<? super JsPrimitive> predicate)
<R> Optional<R>
JsArray. reduce(BinaryOperator<R> op, Function<? super JsPrimitive,R> map, Predicate<? super JsPrimitive> predicate)
<R> Optional<R>
JsObj. reduce(BinaryOperator<R> op, BiFunction<? super String,? super JsPrimitive,R> map, BiPredicate<? super String,? super JsPrimitive> predicate)
Performs a reduction on the values that satisfy the predicate in the first level of this json.<R> Optional<R>
JsObj. reduce(BinaryOperator<R> op, BiFunction<? super String,? super JsPrimitive,R> map, BiPredicate<? super String,? super JsPrimitive> predicate)
Performs a reduction on the values that satisfy the predicate in the first level of this json.<R> Optional<R>
JsObj. reduce(BinaryOperator<R> op, Function<? super JsPrimitive,R> map, Predicate<? super JsPrimitive> predicate)
<R> Optional<R>
JsObj. reduce(BinaryOperator<R> op, Function<? super JsPrimitive,R> map, Predicate<? super JsPrimitive> predicate)
<R> Optional<R>
Json. reduce(BinaryOperator<R> op, Function<? super JsPrimitive,R> map, Predicate<? super JsPrimitive> predicate)
Performs a reduction on the values that satisfy the predicate in the first level of this json.<R> Optional<R>
Json. reduce(BinaryOperator<R> op, Function<? super JsPrimitive,R> map, Predicate<? super JsPrimitive> predicate)
Performs a reduction on the values that satisfy the predicate in the first level of this json.<R> Optional<R>
JsArray. reduceAll(BinaryOperator<R> op, BiFunction<? super JsPath,? super JsPrimitive,R> map, BiPredicate<? super JsPath,? super JsPrimitive> predicate)
<R> Optional<R>
JsArray. reduceAll(BinaryOperator<R> op, BiFunction<? super JsPath,? super JsPrimitive,R> map, BiPredicate<? super JsPath,? super JsPrimitive> predicate)
<R> Optional<R>
JsArray. reduceAll(BinaryOperator<R> op, Function<? super JsPrimitive,R> map, Predicate<? super JsPrimitive> predicate)
<R> Optional<R>
JsArray. reduceAll(BinaryOperator<R> op, Function<? super JsPrimitive,R> map, Predicate<? super JsPrimitive> predicate)
<R> Optional<R>
JsObj. reduceAll(BinaryOperator<R> op, BiFunction<? super JsPath,? super JsPrimitive,R> map, BiPredicate<? super JsPath,? super JsPrimitive> predicate)
<R> Optional<R>
JsObj. reduceAll(BinaryOperator<R> op, BiFunction<? super JsPath,? super JsPrimitive,R> map, BiPredicate<? super JsPath,? super JsPrimitive> predicate)
<R> Optional<R>
JsObj. reduceAll(BinaryOperator<R> op, Function<? super JsPrimitive,R> map, Predicate<? super JsPrimitive> predicate)
<R> Optional<R>
JsObj. reduceAll(BinaryOperator<R> op, Function<? super JsPrimitive,R> map, Predicate<? super JsPrimitive> predicate)
<R> Optional<R>
Json. reduceAll(BinaryOperator<R> op, BiFunction<? super JsPath,? super JsPrimitive,R> map, BiPredicate<? super JsPath,? super JsPrimitive> predicate)
Performs a reduction on the values of this json that satisfy the predicate.<R> Optional<R>
Json. reduceAll(BinaryOperator<R> op, BiFunction<? super JsPath,? super JsPrimitive,R> map, BiPredicate<? super JsPath,? super JsPrimitive> predicate)
Performs a reduction on the values of this json that satisfy the predicate.<R> Optional<R>
Json. reduceAll(BinaryOperator<R> op, Function<? super JsPrimitive,R> map, Predicate<? super JsPrimitive> predicate)
Performs a reduction on the values of this json that satisfy the predicate.<R> Optional<R>
Json. reduceAll(BinaryOperator<R> op, Function<? super JsPrimitive,R> map, Predicate<? super JsPrimitive> predicate)
Performs a reduction on the values of this json that satisfy the predicate.
-