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 classRepresents an immutable JSON number of type BigDecimal.final classRepresents an immutable JSON number of type BigInteger.final classRepresents an array of bytes in a JSON-like data structure.final classRepresents an immutable JSON boolean.final classRepresents an immutable JSON number of type double.final classRepresents an immutable instant.final classRepresents an immutable JSON number of type integer.final classRepresents an immutable JSON number of type long.final classRepresents null.classRepresents a sealed abstract class for JSON number values.final classRepresents an immutable JSON string.Methods in jsonvalues that return JsPrimitiveModifier and TypeMethodDescriptionJsBinary.toJsPrimitive()JsBool.toJsPrimitive()JsInstant.toJsPrimitive()JsNothing.toJsPrimitive()JsNull.toJsPrimitive()JsNumber.toJsPrimitive()default JsPrimitiveJson.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> RJsArray.reduce(BinaryOperator<R> op, BiFunction<? super JsPath, ? super JsPrimitive, R> map, BiPredicate<? super JsPath, ? super JsPrimitive> predicate) <R> RJsArray.reduce(BinaryOperator<R> op, BiFunction<? super JsPath, ? super JsPrimitive, R> map, BiPredicate<? super JsPath, ? super JsPrimitive> predicate) <R> RJsArray.reduce(BinaryOperator<R> op, Function<? super JsPrimitive, R> map, Predicate<? super JsPrimitive> predicate) <R> RJsArray.reduce(BinaryOperator<R> op, Function<? super JsPrimitive, R> map, Predicate<? super JsPrimitive> predicate) <R> RJsObj.reduce(BinaryOperator<R> op, BiFunction<? super JsPath, ? super JsPrimitive, R> map, BiPredicate<? super JsPath, ? super JsPrimitive> predicate) <R> RJsObj.reduce(BinaryOperator<R> op, BiFunction<? super JsPath, ? super JsPrimitive, R> map, BiPredicate<? super JsPath, ? super JsPrimitive> predicate) <R> RJsObj.reduce(BinaryOperator<R> op, Function<? super JsPrimitive, R> map, Predicate<? super JsPrimitive> predicate) <R> RJsObj.reduce(BinaryOperator<R> op, Function<? super JsPrimitive, R> map, Predicate<? super JsPrimitive> predicate) <R> RJson.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> RJson.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> RJson.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> RJson.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.