Package | Description |
---|---|
jsonvalues |
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
JsPrimitive |
JsValue.toJsPrimitive() |
JsPrimitive |
JsBool.toJsPrimitive() |
JsPrimitive |
JsNumber.toJsPrimitive() |
JsPrimitive |
JsStr.toJsPrimitive() |
JsPrimitive |
JsBinary.toJsPrimitive() |
JsPrimitive |
JsNull.toJsPrimitive() |
JsPrimitive |
JsInstant.toJsPrimitive() |
default JsPrimitive |
Json.toJsPrimitive() |
JsPrimitive |
JsNothing.toJsPrimitive() |
Modifier and Type | Method and Description |
---|---|
JsArray |
JsArray.filterValues(BiPredicate<? super JsPath,? super JsPrimitive> filter) |
JsObj |
JsObj.filterValues(BiPredicate<? super JsPath,? super JsPrimitive> filter) |
T |
Json.filterValues(BiPredicate<? super JsPath,? super JsPrimitive> filter)
Filters all the pairs of elements of this json, removing those that don't ifPredicateElse the predicate.
|
JsArray |
JsArray.filterValues(Predicate<? super JsPrimitive> filter) |
JsObj |
JsObj.filterValues(Predicate<? super JsPrimitive> filter) |
T |
Json.filterValues(Predicate<? super JsPrimitive> filter)
Filters all the pairs of elements of this json, removing those that don't ifPredicateElse the predicate.
|
JsArray |
JsArray.mapValues(BiFunction<? super JsPath,? super JsPrimitive,? extends JsValue> fn) |
JsObj |
JsObj.mapValues(BiFunction<? super JsPath,? super JsPrimitive,? extends JsValue> fn) |
T |
Json.mapValues(BiFunction<? super JsPath,? super JsPrimitive,? extends JsValue> fn)
Maps all the values of this json.
|
JsArray |
JsArray.mapValues(Function<? super JsPrimitive,? extends JsValue> fn) |
JsObj |
JsObj.mapValues(Function<? super JsPrimitive,? extends JsValue> fn) |
T |
Json.mapValues(Function<? super JsPrimitive,? extends JsValue> fn)
Maps all the values of this json.
|
<R> Optional<R> |
JsArray.reduce(BinaryOperator<R> op,
BiFunction<? super JsPath,? super JsPrimitive,R> map,
BiPredicate<? super JsPath,? super JsPrimitive> predicate) |
<R> Optional<R> |
JsArray.reduce(BinaryOperator<R> op,
BiFunction<? super JsPath,? super JsPrimitive,R> map,
BiPredicate<? super JsPath,? super JsPrimitive> predicate) |
<R> Optional<R> |
JsObj.reduce(BinaryOperator<R> op,
BiFunction<? super JsPath,? super JsPrimitive,R> map,
BiPredicate<? super JsPath,? super JsPrimitive> predicate) |
<R> Optional<R> |
JsObj.reduce(BinaryOperator<R> op,
BiFunction<? super JsPath,? super JsPrimitive,R> map,
BiPredicate<? super JsPath,? super JsPrimitive> predicate) |
<R> Optional<R> |
Json.reduce(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.reduce(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> |
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,
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 of this json that satisfy the predicate.
|
<R> Optional<R> |
Json.reduce(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.
|
Copyright © 2022. All rights reserved.