Uses of Class
jsonvalues.JsPrimitive
Packages that use JsPrimitive
Package
Description
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 jsonvaluesModifier and TypeClassDescriptionfinal class
Represents an immutable json number of type BigDecimal.final class
Represents an immutable json number of type BigInteger.final class
Represents an array of bytes.final class
Represents an immutable json boolean.final class
Represents an immutable json number of type double.final class
Represents an immutable instant.final class
Represents an immutable json number of type integer.final class
Represents an immutable json number of type long.final class
Represents null, which a valid json value.class
Represents an immutable json number.final class
Represents an immutable json string.Methods in jsonvalues that return JsPrimitiveModifier and TypeMethodDescriptionJsBinary.toJsPrimitive()
JsBool.toJsPrimitive()
JsInstant.toJsPrimitive()
JsNothing.toJsPrimitive()
JsNull.toJsPrimitive()
JsNumber.toJsPrimitive()
default JsPrimitive
Json.toJsPrimitive()
JsStr.toJsPrimitive()
JsValue.toJsPrimitive()
Method parameters in jsonvalues with type arguments of type JsPrimitiveModifier and TypeMethodDescriptionJsArray.filterAllValues
(BiPredicate<? super JsPath, ? super JsPrimitive> filter) JsArray.filterAllValues
(Predicate<? super JsPrimitive> filter) JsObj.filterAllValues
(BiPredicate<? super JsPath, ? super JsPrimitive> filter) JsObj.filterAllValues
(Predicate<? super JsPrimitive> filter) 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.Json.filterAllValues
(Predicate<? super JsPrimitive> filter) Filters all the pairs of elements of this json, removing those that don't ifPredicateElse the predicate.JsArray.filterValues
(BiPredicate<? super Integer, ? super JsPrimitive> filter) JsArray.filterValues
(Predicate<? super JsPrimitive> filter) JsObj.filterValues
(BiPredicate<? super String, ? super JsPrimitive> filter) JsObj.filterValues
(Predicate<? super JsPrimitive> filter) 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.mapAllValues
(BiFunction<? super JsPath, ? super JsPrimitive, ? extends JsValue> fn) JsArray.mapAllValues
(Function<? super JsPrimitive, ? extends JsValue> fn) JsObj.mapAllValues
(BiFunction<? super JsPath, ? super JsPrimitive, ? extends JsValue> fn) JsObj.mapAllValues
(Function<? super JsPrimitive, ? extends JsValue> fn) Json.mapAllValues
(BiFunction<? super JsPath, ? super JsPrimitive, ? extends JsValue> fn) Maps all the values of this json.Json.mapAllValues
(Function<? super JsPrimitive, ? extends JsValue> fn) Maps all the values of this json.JsArray.mapValues
(BiFunction<? super Integer, ? super JsPrimitive, ? extends JsValue> fn) JsArray.mapValues
(Function<? super JsPrimitive, ? extends JsValue> fn) JsObj.mapValues
(BiFunction<? super String, ? super JsPrimitive, ? extends JsValue> fn) JsObj.mapValues
(Function<? super JsPrimitive, ? extends JsValue> fn) 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.