Uses of Class
jsonvalues.JsPrimitive
Packages that use JsPrimitive
Package
Description
The `jsonvalues` package provides a set of classes and interfaces for working with JSON (JavaScript Object Notation)
data in a type-safe and structured manner.
-
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 in a JSON-like data structure.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.class
Represents a sealed abstract class for JSON number values.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()
Returns this JsValue as a JsPrimitive.Method parameters in jsonvalues with type arguments of type JsPrimitiveModifier and TypeMethodDescriptionJsArray.filterValues
(BiPredicate<? super JsPath, ? super JsPrimitive> filter) JsArray.filterValues
(Predicate<? super JsPrimitive> filter) JsObj.filterValues
(BiPredicate<? super JsPath, ? super JsPrimitive> filter) JsObj.filterValues
(Predicate<? super JsPrimitive> filter) Json.filterValues
(BiPredicate<? super JsPath, ? super JsPrimitive> filter) Filters all the pairs of elements of this json, removing those that don't satisfy the given predicate.Json.filterValues
(Predicate<? super JsPrimitive> filter) Filters all the pairs of elements of this json, removing those that don't ifPredicateElse the predicate.JsArray.mapValues
(BiFunction<? super JsPath, ? super JsPrimitive, ? extends JsValue> fn) JsArray.mapValues
(Function<? super JsPrimitive, ? extends JsValue> fn) JsObj.mapValues
(BiFunction<? super JsPath, ? super JsPrimitive, ? extends JsValue> fn) JsObj.mapValues
(Function<? super JsPrimitive, ? extends JsValue> fn) Json.mapValues
(BiFunction<? super JsPath, ? super JsPrimitive, ? extends JsValue> fn) Recursively maps all the values of this JSON, replacing each value with the result of applying the given mapping function.Json.mapValues
(Function<? super JsPrimitive, ? extends JsValue> fn) Recursively maps all the values of this JSON, replacing each value with the result of applying the given mapping function.<R> R
JsArray.reduce
(BinaryOperator<R> op, BiFunction<? super JsPath, ? super JsPrimitive, R> map, BiPredicate<? super JsPath, ? super JsPrimitive> predicate) <R> R
JsArray.reduce
(BinaryOperator<R> op, BiFunction<? super JsPath, ? super JsPrimitive, R> map, BiPredicate<? super JsPath, ? super JsPrimitive> predicate) <R> R
JsArray.reduce
(BinaryOperator<R> op, Function<? super JsPrimitive, R> map, Predicate<? super JsPrimitive> predicate) <R> R
JsArray.reduce
(BinaryOperator<R> op, Function<? super JsPrimitive, R> map, Predicate<? super JsPrimitive> predicate) <R> R
JsObj.reduce
(BinaryOperator<R> op, BiFunction<? super JsPath, ? super JsPrimitive, R> map, BiPredicate<? super JsPath, ? super JsPrimitive> predicate) <R> R
JsObj.reduce
(BinaryOperator<R> op, BiFunction<? super JsPath, ? super JsPrimitive, R> map, BiPredicate<? super JsPath, ? super JsPrimitive> predicate) <R> R
JsObj.reduce
(BinaryOperator<R> op, Function<? super JsPrimitive, R> map, Predicate<? super JsPrimitive> predicate) <R> R
JsObj.reduce
(BinaryOperator<R> op, Function<? super JsPrimitive, R> map, Predicate<? super JsPrimitive> predicate) <R> R
Json.reduce
(BinaryOperator<R> op, BiFunction<? super JsPath, ? super JsPrimitive, R> map, BiPredicate<? super JsPath, ? super JsPrimitive> predicate) Reduces the values of this JSON object that satisfy the given predicate, allowing access to the element's path.<R> R
Json.reduce
(BinaryOperator<R> op, BiFunction<? super JsPath, ? super JsPrimitive, R> map, BiPredicate<? super JsPath, ? super JsPrimitive> predicate) Reduces the values of this JSON object that satisfy the given predicate, allowing access to the element's path.<R> R
Json.reduce
(BinaryOperator<R> op, Function<? super JsPrimitive, R> map, Predicate<? super JsPrimitive> predicate) Reduces the values of this JSON object that satisfy the given predicate.<R> R
Json.reduce
(BinaryOperator<R> op, Function<? super JsPrimitive, R> map, Predicate<? super JsPrimitive> predicate) Reduces the values of this JSON object that satisfy the given predicate.