Uses of Class
jsonvalues.JsPair
-
Packages that use JsPair 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 JsPair in jsonvalues
Fields in jsonvalues with type parameters of type JsPair Modifier and Type Field Description static Lens<JsPair,JsPath>JsPair. pathLenslens that focuses on the path of a pairstatic Lens<JsPair,JsValue>JsPair. valueLenslens that focuses on the value of a pairMethods in jsonvalues that return JsPair Modifier and Type Method Description static JsPairJsPair. of(String key, boolean b)Returns a json pair from the key and the boolean.static JsPairJsPair. of(String key, double d)Returns a json pair from the key and the double.static JsPairJsPair. of(String key, int i)Returns a json pair from the key and the integer.static JsPairJsPair. of(String key, long l)Returns a json pair from the key and the long.static JsPairJsPair. of(String key, String s)Returns a json pair from the key and the string.static JsPairJsPair. of(String key, BigDecimal bd)Returns a json pair from the key and the big decimal.static JsPairJsPair. of(String key, BigInteger bi)Returns a json pair from the key and the big integer.static JsPairJsPair. of(JsPath path, boolean b)Returns a json pair from the path and the boolean.static JsPairJsPair. of(JsPath path, double d)Returns a json pair from the path and the double.static JsPairJsPair. of(JsPath path, int i)Returns a json pair from the path and the integer.static JsPairJsPair. of(JsPath path, long l)Returns a json pair from the path and the long.static JsPairJsPair. of(JsPath path, String s)Returns a json pair from the path and the string.static JsPairJsPair. of(JsPath path, BigDecimal bd)Returns a json pair from the path and the big decimal.static JsPairJsPair. of(JsPath path, BigInteger bi)Returns a json pair from the path and the big integer.static JsPairJsPair. of(JsPath path, JsValue elem)Returns a json pair from the path and the json element.Methods in jsonvalues that return types with arguments of type JsPair Modifier and Type Method Description Stream<JsPair>JsArray. stream()Stream<JsPair>JsObj. stream()Stream<JsPair>Json. stream()Returns a stream over the pairs of elements in the first level of this json object.Stream<JsPair>JsArray. streamAll()Stream<JsPair>JsObj. streamAll()Stream<JsPair>Json. streamAll()Returns a stream over all the pairs of elements in this json object.Methods in jsonvalues with parameters of type JsPair Modifier and Type Method Description static JsArrayJsArray. of(JsPair pair, JsPair... others)Returns an immutable array from one or more pairs.static JsObjJsObj. of(JsPair pair, JsPair... others)Returns an immutable object from one or more pairs.Method parameters in jsonvalues with type arguments of type JsPair Modifier and Type Method Description JsArrayJsArray. filterAllKeys(Predicate<? super JsPair> filter)JsObjJsObj. filterAllKeys(Predicate<? super JsPair> filter)TJson. filterAllKeys(Predicate<? super JsPair> filter)Filters all the keys of this json, removing those that don't ifPredicateElse the predicate.JsArrayJsArray. filterAllValues(Predicate<? super JsPair> filter)JsObjJsObj. filterAllValues(Predicate<? super JsPair> filter)TJson. filterAllValues(Predicate<? super JsPair> filter)Filters all the pairs of elements of this json, removing those that don't ifPredicateElse the predicate.JsArrayJsArray. filterKeys(Predicate<? super JsPair> filter)JsObjJsObj. filterKeys(Predicate<? super JsPair> filter)TJson. filterKeys(Predicate<? super JsPair> filter)Filters the keys in the first level of this json, removing those that don't ifPredicateElse the predicate.JsArrayJsArray. filterValues(Predicate<? super JsPair> filter)JsObjJsObj. filterValues(Predicate<? super JsPair> filter)TJson. filterValues(Predicate<? super JsPair> filter)Filters the pairs of elements in the first level of this json, removing those that don't ifPredicateElse the predicate.JsArrayJsArray. mapAllKeys(Function<? super JsPair,String> fn)JsObjJsObj. mapAllKeys(Function<? super JsPair,String> fn)TJson. mapAllKeys(Function<? super JsPair,String> fn)Maps all the keys of this json.JsArrayJsArray. mapAllValues(Function<? super JsPair,? extends JsValue> fn)JsObjJsObj. mapAllValues(Function<? super JsPair,? extends JsValue> fn)TJson. mapAllValues(Function<? super JsPair,? extends JsValue> fn)Maps all the values of this json.JsArrayJsArray. mapKeys(Function<? super JsPair,String> fn)JsObjJsObj. mapKeys(Function<? super JsPair,String> fn)TJson. mapKeys(Function<? super JsPair,String> fn)Maps the keys in the first level of this json.JsArrayJsArray. mapValues(Function<? super JsPair,? extends JsValue> fn)JsObjJsObj. mapValues(Function<? super JsPair,? extends JsValue> fn)TJson. mapValues(Function<? super JsPair,? extends JsValue> fn)Maps the values in the first level of this json.<R> Optional<R>JsArray. reduce(BinaryOperator<R> op, Function<? super JsPair,R> map, Predicate<? super JsPair> predicate)<R> Optional<R>JsArray. reduce(BinaryOperator<R> op, Function<? super JsPair,R> map, Predicate<? super JsPair> predicate)<R> Optional<R>JsObj. reduce(BinaryOperator<R> op, Function<? super JsPair,R> map, Predicate<? super JsPair> predicate)<R> Optional<R>JsObj. reduce(BinaryOperator<R> op, Function<? super JsPair,R> map, Predicate<? super JsPair> predicate)<R> Optional<R>Json. reduce(BinaryOperator<R> op, Function<? super JsPair,R> map, Predicate<? super JsPair> 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 JsPair,R> map, Predicate<? super JsPair> 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, Function<? super JsPair,R> map, Predicate<? super JsPair> predicate)<R> Optional<R>JsArray. reduceAll(BinaryOperator<R> op, Function<? super JsPair,R> map, Predicate<? super JsPair> predicate)<R> Optional<R>JsObj. reduceAll(BinaryOperator<R> op, Function<? super JsPair,R> map, Predicate<? super JsPair> predicate)<R> Optional<R>JsObj. reduceAll(BinaryOperator<R> op, Function<? super JsPair,R> map, Predicate<? super JsPair> predicate)<R> Optional<R>Json. reduceAll(BinaryOperator<R> op, Function<? super JsPair,R> map, Predicate<? super JsPair> predicate)Performs a reduction on the values of this json that satisfy the predicate.<R> Optional<R>Json. reduceAll(BinaryOperator<R> op, Function<? super JsPair,R> map, Predicate<? super JsPair> predicate)Performs a reduction on the values of this json that satisfy the predicate.
-