A B C D E F G H I J K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- all - Variable in class jsonvalues.Prism
-
check if there is no target or the target satisfies the predicate
- alphabetic - Static variable in class jsonvalues.gen.JsGens
-
Generates a alphabetic string where the length is between [0-10]
- alphabetic(int) - Static method in class jsonvalues.gen.JsGens
-
Generates an alphabetic string of the given length
- alphanumeric - Static variable in class jsonvalues.gen.JsGens
-
Generates a alphanumeric string where the length is between [0-10]
- alphanumeric(int) - Static method in class jsonvalues.gen.JsGens
-
Generates an alphanumeric string of the given length
- any - Static variable in class jsonvalues.spec.JsSpecs
-
spec that is conformed by any value
- any(Predicate<JsValue>) - Static method in class jsonvalues.spec.JsSpecs
-
returns a spec that conforms any value that is evaluated to true on the predicate.
- append(Supplier<? extends JsValue>) - Method in class jsonvalues.supplier.JsArraySupplier
- append(JsFuture<?>) - Method in class jsonvalues.future.JsArrayFuture
- append(JsPath) - Method in class jsonvalues.JsPath
-
Creates a new JsPath appending the given path to this path.
- append(JsValue, JsValue...) - Method in class jsonvalues.JsArray
-
Adds one or more elements, starting from the first, to the back of this array.
- appendAll(JsArray) - Method in class jsonvalues.JsArray
-
Adds all the elements of the given array, starting from the head, to the back of this array.
- apply(Random) - Method in class jsonvalues.gen.JsObjGen
- apply(JsPath) - Method in class jsonvalues.console.JsArrayConsole
- apply(JsPath) - Method in class jsonvalues.console.JsObjConsole
- array - Static variable in class jsonvalues.JsOptics
- array - Static variable in class jsonvalues.spec.JsSpecs
-
non-nullable array spec
- array(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the json array located at an index in an array
- array(int) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the json array located at an index in an array
- array(JsonReader<?>) - Method in class com.dslplatform.json.parsers.JsArraySpecParser
- array(String) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a json array located at a key in an object.
- array(String) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the array located at a key in an object
- array(Predicate<JsValue>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array, where each element of the array satisfies the given predicate
- array(JsGen<?>, int) - Static method in class jsonvalues.gen.JsGens
-
Creates an array generator of the given size, whose elements are chosen from the given generator
- array(JsPath) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the json array located at a path in an array
- array(JsPath) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the array located at a path in an array
- array(JsPath) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a json object located at a path in an object.
- array(JsPath) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the array located at a path in an object
- ARRAY_CONDITION - jsonvalues.spec.ERROR_CODE
- ARRAY_EXPECTED - jsonvalues.spec.ERROR_CODE
- arrayDistinct(JsGen<?>, int) - Static method in class jsonvalues.gen.JsGens
-
Generates an array of values from the given generator, with the guarantee that the elements will be distinct.
- arrayDistinct(JsGen<?>, int, int) - Static method in class jsonvalues.gen.JsGens
-
Generates an array of values from the given generator, with the guarantee that the elements will be distinct.
- arrayOf(JsObjSpec) - Static method in class jsonvalues.spec.JsSpecs
-
A required and none nullable spec that specifies an array of objects that conform the given spec
- arrayOfBool - Static variable in class jsonvalues.spec.JsSpecs
-
non-nullable array of booleans spec
- arrayOfBoolSuchThat(Predicate<JsArray>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of booleans that satisfies the given predicate
- arrayOfDec - Static variable in class jsonvalues.spec.JsSpecs
-
non-nullable array of decimal numbers spec
- arrayOfDec(Predicate<BigDecimal>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of decimal numbers, where each element of the array satisfies the given predicate
- arrayOfDecSuchThat(Predicate<JsArray>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of decimal numbers that satisfies the given predicate
- arrayOfInt - Static variable in class jsonvalues.spec.JsSpecs
-
non-nullable array of integer numbers spec
- arrayOfInt(IntPredicate) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of integer numbers, where each element of the array satisfies the given predicate
- arrayOfIntegral - Static variable in class jsonvalues.spec.JsSpecs
-
non-nullable array of integral numbers spec
- arrayOfIntegral(Predicate<BigInteger>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of integral numbers, where each element of the array satisfies the given predicate
- arrayOfIntegralSuchThat(Predicate<JsArray>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of integral numbers that satisfies the given predicate
- arrayOfIntSuchThat(Predicate<JsArray>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of numbers that satisfies the given predicate
- arrayOfLong - Static variable in class jsonvalues.spec.JsSpecs
-
non-nullable array of long numbers spec
- arrayOfLong(LongPredicate) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of long numbers, where each element of the array satisfies the given predicate
- arrayOfLongSuchThat(Predicate<JsArray>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of long numbers that satisfies the given predicate
- arrayOfNumber - Static variable in class jsonvalues.spec.JsSpecs
-
non-nullable array of numbers spec
- arrayOfNumber(Predicate<JsNumber>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of numbers, where each element of the array satisfies the given predicate
- arrayOfNumberSuchThat(Predicate<JsArray>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of numbers that satisfies the given predicate
- arrayOfObj - Static variable in class jsonvalues.spec.JsSpecs
-
non-nullable array of objects spec
- arrayOfObj(Predicate<JsObj>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of objects, where each element of the array satisfies the given predicate
- arrayOfObjSuchThat(Predicate<JsArray>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of objects that satisfies the given predicate
- arrayOfStr - Static variable in class jsonvalues.spec.JsSpecs
-
non-nullable array of strings spec
- arrayOfStr(Predicate<String>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of strings, where each element of the array satisfies the given predicate
- arrayOfStrSuchThat(Predicate<JsArray>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of strings that satisfies the given predicate
- arraySuchThat(Predicate<JsArray>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array that satisfies the given predicate
- asIndex() - Method in class jsonvalues.Index
-
Returns this index.
- asIndex() - Method in class jsonvalues.Key
-
throws an UserError exception.
- asIndex() - Method in interface jsonvalues.Position
-
Casts this position into an Index, throwing an exception if it's a Key.
- asKey() - Method in class jsonvalues.Index
-
throws an UserError exception.
- asKey() - Method in class jsonvalues.Key
-
Returns this key.
- asKey() - Method in interface jsonvalues.Position
-
Casts this position into a Key, throwing an exception if it's an index.
B
- base64Prism - Static variable in class jsonvalues.JsStr
- binary - Static variable in class jsonvalues.gen.JsGens
-
Generates an array of 1024 bytes
- binary - Static variable in class jsonvalues.spec.JsSpecs
-
non-nullable array spec
- binary(int) - Static method in class jsonvalues.gen.JsGens
-
Generates an array of bytes of the given length
- binary(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on an array of bytes located at an index in an array
- binary(String) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on an array of bytes located at a key in an object.
- binary(String) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the array of bytes located at a key in an object
- binary(Predicate<byte[]>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable json object that satisfies the given predicate
- binary(JsPath) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on an array of bytes located at a path in an array
- binary(JsPath) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on an array of bytes located at a path in an object.
- binary(JsPath) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the array of bytes located at a path in an object
- BINARY_CONDITION - jsonvalues.spec.ERROR_CODE
- BINARY_EXPECTED - jsonvalues.spec.ERROR_CODE
- bool - Static variable in class jsonvalues.gen.JsGens
-
Generates a boolean
- bool - Static variable in class jsonvalues.spec.JsSpecs
-
non-nullable boolean
- bool(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the boolean located at an index in an array
- bool(int) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the boolean located at an index in an array
- bool(String) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a boolean located at a path in an object.
- bool(String) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the boolean located at a key in an object
- bool(JsPath) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the boolean located at a path in an array
- bool(JsPath) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the boolean located at a path in an array
- bool(JsPath) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a boolean located at a path in an object.
- bool(JsPath) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the boolean located at a path in an object
- BOOLEAN_CONDITION - jsonvalues.spec.ERROR_CODE
- BOOLEAN_EXPECTED - jsonvalues.spec.ERROR_CODE
- bounce() - Method in interface jsonvalues.Trampoline
C
- character - Static variable in class jsonvalues.gen.JsGens
-
Generates character from 0-255
- characterAlpha - Static variable in class jsonvalues.gen.JsGens
-
Generates character from 65-122
- choose(int, int) - Static method in class jsonvalues.gen.JsGens
-
Creates a generator that generates integers in the range`min` to `max`, inclusive.
- code - Variable in class jsonvalues.spec.Error
- com.dslplatform.json - package com.dslplatform.json
-
the library dsl-json has been extended with some customization.
- com.dslplatform.json.parsers - package com.dslplatform.json.parsers
- com.dslplatform.json.serializers - package com.dslplatform.json.serializers
- compareTo(JsBigDec) - Method in class jsonvalues.JsBigDec
-
Compares two
JsBigDec
objects numerically - compareTo(JsBigInt) - Method in class jsonvalues.JsBigInt
-
Compares two
JsBigInt
objects numerically. - compareTo(JsDouble) - Method in class jsonvalues.JsDouble
-
Compares two
JsDouble
objects numerically. - compareTo(JsInstant) - Method in class jsonvalues.JsInstant
- compareTo(JsInt) - Method in class jsonvalues.JsInt
-
Compares two
JsInt
objects numerically. - compareTo(JsLong) - Method in class jsonvalues.JsLong
-
Compares two
JsLong
objects numerically. - compareTo(JsPath) - Method in class jsonvalues.JsPath
-
Compares this path with another given as a parameter by comparing in order each of their positions, one by one, until a result different than zero is returned or all the positions of any path are consumed.
- compareTo(JsStr) - Method in class jsonvalues.JsStr
-
Compares two
JsStr
objects lexicographically. - compareTo(Position) - Method in class jsonvalues.Index
-
Compares this index with another given position.
- compareTo(Position) - Method in class jsonvalues.Key
-
compares this key with another given position.
- compareTo(Position) - Method in interface jsonvalues.Position
- complete() - Method in interface jsonvalues.Trampoline
- compose(Lens<O, B>) - Method in class jsonvalues.Lens
-
Compose this lens with another one
- compose(Option<T, F>) - Method in class jsonvalues.Option
-
compose this optional with the given as parameter
- compose(Prism<O, T>) - Method in class jsonvalues.Lens
-
Composing a Lens and a Prism returns and Optional
- containsKey(String) - Method in class jsonvalues.JsObj
-
return true if the key is present
- containsPath(JsPath) - Method in interface jsonvalues.Json
-
Returns true if an element exists in this json at the given path.
- containsValue(JsValue) - Method in class jsonvalues.JsArray
- containsValue(JsValue) - Method in class jsonvalues.JsObj
- containsValue(JsValue) - Method in interface jsonvalues.Json
-
Returns true if this json contains the given element in the first level.
D
- dateBetween(long, long) - Static method in class jsonvalues.gen.JsGens
-
generates an instant in UTC formatted with the ISO instant formatter (such as '2011-12-03T10:15:30Z'), between an interval given by two instants converted to the number of seconds from the epoch of 1970-01-01T00:00:00Z.
- dateBetween(ZonedDateTime, ZonedDateTime) - Static method in class jsonvalues.gen.JsGens
-
generates an instant in UTC formatted with the ISO instant formatter (such as '2011-12-03T10:15:30Z'), between an interval given by two date-time with a time-zone.
- dec() - Method in class jsonvalues.JsPath
-
Returns a new path decrementing the last index by one, throwing an UserError if the last Position is not an index
- decimal - Static variable in class jsonvalues.gen.JsGens
-
Generates a decimal number
- decimal - Static variable in class jsonvalues.spec.JsSpecs
-
non-nullable decimal number
- decimal(Predicate<BigDecimal>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable decimal number that satisfies the given predicate
- DECIMAL_CONDITION - jsonvalues.spec.ERROR_CODE
- DECIMAL_EXPECTED - jsonvalues.spec.ERROR_CODE
- decimalNum(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the decimal number located at an index in an array
- decimalNum(int) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the decimal number located at an index in an array
- decimalNum(String) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a decimal number located at a key in an object.
- decimalNum(String) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the decimal number located at a key in an object
- decimalNum(JsPath) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the decimal number located at a path in an array
- decimalNum(JsPath) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the decimal number located at a path in an array
- decimalNum(JsPath) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a decimal number located at a path in an object.
- decimalNum(JsPath) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the decimal number located at a path in an object
- delete(int) - Method in class jsonvalues.JsArray
- delete(String) - Method in class jsonvalues.JsObj
- delete(JsPath) - Method in class jsonvalues.JsArray
- delete(JsPath) - Method in class jsonvalues.JsObj
- delete(JsPath) - Method in interface jsonvalues.Json
-
Removes the element in this json located at the given path, if it exists, returning the same this instance otherwise
- deserializeToJsArray(byte[], JsSpecParser) - Method in class com.dslplatform.json.MyDslJson
- deserializeToJsArray(InputStream, JsSpecParser) - Method in class com.dslplatform.json.MyDslJson
- digit - Static variable in class jsonvalues.gen.JsGens
-
Generates a digit from 0-9
- digits(int) - Static method in class jsonvalues.gen.JsGens
-
Generates a seq of digits of the given length
- done(T) - Static method in interface jsonvalues.Trampoline
- doubleNum(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the double number located at an index in an array
- doubleNum(int) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the double number located at an index in an array
- doubleNum(String) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a double number located at a key in an object.
- doubleNum(String) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the double number located at a key in an object
- doubleNum(JsPath) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the double number located at a path in an array
- doubleNum(JsPath) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the double number located at a path in an array
- doubleNum(JsPath) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a double number located at a path in an object.
- doubleNum(JsPath) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the double number located at a path in an object
E
- empty() - Static method in class jsonvalues.future.JsArrayFuture
-
returns a JsArrayFuture that is completed returning the empty Json array
- empty() - Static method in class jsonvalues.future.JsObjFuture
-
returns a JsObjFuture that is completed returning the empty Json object
- empty() - Static method in class jsonvalues.JsArray
- empty() - Static method in class jsonvalues.JsObj
- empty() - Static method in class jsonvalues.JsPath
-
Returns the singleton empty path.
- empty() - Static method in class jsonvalues.supplier.JsArraySupplier
-
returns a JsArraySupplier that returns an empty Json array
- empty() - Static method in class jsonvalues.supplier.JsObjSupplier
-
returns a JsObjSupplier that is completed returning the empty Json object
- EMPTY - Static variable in class jsonvalues.JsArray
- EMPTY - Static variable in class jsonvalues.JsObj
- endsWith(JsPath) - Method in class jsonvalues.JsPath
-
returns true if this path ends with the given path.
- equals(Object) - Method in class jsonvalues.Index
-
Returns true if that is an index and both have the same value.
- equals(Object) - Method in class jsonvalues.JsArray
- equals(Object) - Method in class jsonvalues.JsBigDec
-
Indicates whether some other object is "equal to" this json big decimal.
- equals(Object) - Method in class jsonvalues.JsBigInt
-
Indicates whether some other object is "equal to" this json big integer.
- equals(Object) - Method in class jsonvalues.JsBinary
- equals(Object) - Method in class jsonvalues.JsBool
-
Indicates whether some other object is "equal to" this json boolean.
- equals(Object) - Method in class jsonvalues.JsDouble
-
Indicates whether some other object is "equal to" this json double.
- equals(Object) - Method in class jsonvalues.JsInstant
- equals(Object) - Method in class jsonvalues.JsInt
-
Indicates whether some other object is "equal to" this json integer.
- equals(Object) - Method in class jsonvalues.JsLong
-
Indicates whether some other object is "equal to" this json long.
- equals(Object) - Method in class jsonvalues.JsNothing
-
Returns true if that is the singleton
JsNothing.NOTHING
. - equals(Object) - Method in class jsonvalues.JsNull
-
Returns true if that is the singleton
JsNull.NULL
. - equals(Object) - Method in class jsonvalues.JsObj
- equals(Object) - Method in class jsonvalues.JsPair
-
Returns true if that is a pair and both represents the same element at the same location.
- equals(Object) - Method in class jsonvalues.JsPath
-
Indicates whether some other object is "equal to" this path
- equals(Object) - Method in class jsonvalues.JsStr
-
Indicates whether some other object is "equal to" this json string.
- equals(Object) - Method in class jsonvalues.Key
-
Returns true if that is a key and both have the same name.
- equals(JsArray, JsArray.TYPE) - Method in class jsonvalues.JsArray
-
Returns true if this array is equal to the given as a parameter.
- equals(JsObj, JsArray.TYPE) - Method in class jsonvalues.JsObj
-
return true if this obj is equal to the given as a parameter.
- equals(JsValue, JsArray.TYPE) - Method in interface jsonvalues.Json
- error - Variable in class jsonvalues.spec.JsErrorPair
- Error - Class in jsonvalues.spec
- Error(JsValue, ERROR_CODE) - Constructor for class jsonvalues.spec.Error
- ERROR_CODE - Enum in jsonvalues.spec
- exec() - Method in class jsonvalues.console.JsArrayConsole
- exec() - Method in class jsonvalues.console.JsObjConsole
- exec() - Method in interface jsonvalues.console.Program
-
Execute the program
- exec(String, Function<O, String>) - Method in interface jsonvalues.console.Program
-
Execute the program, printing out a message before and after executing.
- executor(Executor) - Method in class jsonvalues.future.JsArrayFuture
-
the executor to use for the asynchronous operation assigned to this future.
- executor(Executor) - Method in class jsonvalues.future.JsObjFuture
-
the executor to use for the asynchronous operation assigned to this future.
- exists - Variable in class jsonvalues.Lens
-
check if there is a target and it satisfies the predicate
- exists - Variable in class jsonvalues.Prism
-
check if there is a target and it satisfies the predicate
F
- FALSE - Static variable in class jsonvalues.JsBool
-
The singleton false value.
- FALSE - Static variable in class jsonvalues.spec.JsSpecs
-
false constant spec
- FALSE_EXPECTED - jsonvalues.spec.ERROR_CODE
- filterAllKeys(Predicate<? super JsPair>) - Method in class jsonvalues.JsArray
- filterAllKeys(Predicate<? super JsPair>) - Method in class jsonvalues.JsObj
- filterAllKeys(Predicate<? super JsPair>) - Method in interface jsonvalues.Json
-
Filters all the keys of this json, removing those that don't ifPredicateElse the predicate.
- filterAllObjs(BiPredicate<? super JsPath, ? super JsObj>) - Method in class jsonvalues.JsArray
- filterAllObjs(BiPredicate<? super JsPath, ? super JsObj>) - Method in class jsonvalues.JsObj
- filterAllObjs(BiPredicate<? super JsPath, ? super JsObj>) - Method in interface jsonvalues.Json
-
Filters all the pair of jsons of this json, removing those that don't ifPredicateElse the predicate.
- filterAllValues(Predicate<? super JsPair>) - Method in class jsonvalues.JsArray
- filterAllValues(Predicate<? super JsPair>) - Method in class jsonvalues.JsObj
- filterAllValues(Predicate<? super JsPair>) - Method in interface jsonvalues.Json
-
Filters all the pairs of elements of this json, removing those that don't ifPredicateElse the predicate.
- filterKeys(Predicate<? super JsPair>) - Method in class jsonvalues.JsArray
- filterKeys(Predicate<? super JsPair>) - Method in class jsonvalues.JsObj
- filterKeys(Predicate<? super JsPair>) - Method in interface jsonvalues.Json
-
Filters the keys in the first level of this json, removing those that don't ifPredicateElse the predicate.
- filterObjs(BiPredicate<? super JsPath, ? super JsObj>) - Method in class jsonvalues.JsArray
- filterObjs(BiPredicate<? super JsPath, ? super JsObj>) - Method in class jsonvalues.JsObj
- filterObjs(BiPredicate<? super JsPath, ? super JsObj>) - Method in interface jsonvalues.Json
-
Filters the pair of jsons in the first level of this json, removing those that don't ifPredicateElse the predicate.
- filterValues(Predicate<? super JsPair>) - Method in class jsonvalues.JsArray
- filterValues(Predicate<? super JsPair>) - Method in class jsonvalues.JsObj
- filterValues(Predicate<? super JsPair>) - Method in interface jsonvalues.Json
-
Filters the pairs of elements in the first level of this json, removing those that don't ifPredicateElse the predicate.
- find - Variable in class jsonvalues.Lens
-
find if the target satisfies the predicate
- find - Variable in class jsonvalues.Prism
-
find if the target satisfies the predicate
- flatMap(Function<? super T, ? extends Trampoline<R>>) - Method in interface jsonvalues.Trampoline
-
map this trampoline which returns a T, into another one that returns a R.
- flatMap(Function<R, JsGen<T>>) - Method in interface jsonvalues.gen.JsGen
-
Creates a new generator that passes the result of this generator into the given function `f`.
- frequency(Tuple2<Integer, JsGen<?>>, Tuple2<Integer, JsGen<?>>...) - Static method in class jsonvalues.gen.JsGens
-
Creates a generator that chooses a generator from `pairs` based on the provided likelihoods.
- fromIndex(int) - Static method in class jsonvalues.JsPath
-
returns a path from an index
- fromKey(String) - Static method in class jsonvalues.JsPath
-
returns a path from a key
G
- get - Variable in class jsonvalues.Lens
-
function to view the part
- get - Variable in class jsonvalues.Option
-
get the target of an Optional or nothing if there is no target
- get() - Method in class jsonvalues.future.JsArrayFuture
-
it triggers the execution of all the completable futures, combining the results into a JsArray
- get() - Method in class jsonvalues.future.JsObjFuture
-
it triggers the execution of all the completable futures, combining the results into a JsObj
- get() - Method in class jsonvalues.supplier.JsArraySupplier
- get() - Method in class jsonvalues.supplier.JsObjSupplier
- get() - Method in interface jsonvalues.Trampoline
-
Gets a result
- get(int) - Method in class jsonvalues.JsArray
-
returns the element located at the specified index or JsNothing if it doesn't exist.
- get(String) - Method in class jsonvalues.JsObj
- get(JsPath) - Method in class jsonvalues.JsArray
- get(JsPath) - Method in class jsonvalues.JsObj
- get(JsPath) - Method in interface jsonvalues.Json
-
Returns the element located at the given path or
JsNothing
if it doesn't exist. - getArray(String) - Method in class jsonvalues.JsObj
-
Returns the array located at the given key or null if it doesn't exist or it's not an array.
- getArray(JsPath) - Method in interface jsonvalues.Json
-
Returns the array located at the given path or null if it doesn't exist or it's not an array.
- getBigDec(String) - Method in class jsonvalues.JsObj
-
Returns the number located at the given key as a big decimal or null if it doesn't exist or it's not a decimal number.
- getBigDec(JsPath) - Method in interface jsonvalues.Json
-
Returns the number located at the given path as a big decimal or null if it doesn't exist or it's not a decimal number.
- getBigInt(String) - Method in class jsonvalues.JsObj
-
Returns the big integer located at the given key as a big integer or null if it doesn't exist or it's not an integral number.
- getBigInt(JsPath) - Method in interface jsonvalues.Json
-
Returns the number located at the given path as a big integer or null if it doesn't exist or it's not an integral number.
- getBinary(String) - Method in class jsonvalues.JsObj
-
Returns the bytes located at the given key or null if it doesn't exist or it's not an array of bytes.
- getBinary(JsPath) - Method in interface jsonvalues.Json
-
Returns the bytes located at the given path or null if it doesn't exist.
- getBool(String) - Method in class jsonvalues.JsObj
-
Returns the boolean located at the given key or null if it doesn't exist.
- getBool(JsPath) - Method in interface jsonvalues.Json
-
Returns the boolean located at the given path or null if it doesn't exist.
- getDouble(String) - Method in class jsonvalues.JsObj
-
Returns the number located at the given key as a double or null if it doesn't exist or it's not a decimal number.
- getDouble(JsPath) - Method in interface jsonvalues.Json
-
Returns the decimal number located at the given path as a double or null if it doesn't exist or it's not a decimal number.
- getInstant(String) - Method in class jsonvalues.JsObj
-
Returns the instant located at the given key or null if it doesn't exist or it's not an instant.
- getInstant(JsPath) - Method in interface jsonvalues.Json
-
Returns the instant located at the given path or null if it doesn't exist.
- getInt(String) - Method in class jsonvalues.JsObj
-
Returns the integral number located at the given key as an integer or null if it doesn't exist or it's not an integral number or it's an integral number but doesn't fit in an integer.
- getInt(JsPath) - Method in interface jsonvalues.Json
-
Returns the integral number located at the given path as an integer or null if it doesn't exist or it's not an integral number or it's an integral number but doesn't fit in an integer.
- getLong(String) - Method in class jsonvalues.JsObj
-
Returns the integral number located at the given key as a long or null if it doesn't exist or it's not an integral number or it's an integral number but doesn't fit in a long.
- getLong(JsPath) - Method in interface jsonvalues.Json
-
Returns the integral number located at the given path as a long or null if it doesn't exist or it's not an integral number or it's an integral number but doesn't fit in a long.
- getObj(String) - Method in class jsonvalues.JsObj
-
Returns the json object located at the given key or null if it doesn't exist or it's not an object.
- getObj(JsPath) - Method in interface jsonvalues.Json
-
Returns the object located at the given path or null if it doesn't exist or it's not an object.
- getOptional - Variable in class jsonvalues.Prism
-
get the target of a Prism or nothing if there is no target
- getReader(byte[]) - Method in class com.dslplatform.json.MyDslJson
- getReader(InputStream) - Method in class com.dslplatform.json.MyDslJson
- getStr(String) - Method in class jsonvalues.JsObj
-
Returns the string located at the given key or null if it doesn't exist or it's not an string.
- getStr(JsPath) - Method in interface jsonvalues.Json
-
Returns the string located at the given path or null if it doesn't exist or it's not an string.
H
- hashCode() - Method in class jsonvalues.Index
-
Returns the hashcode of this index.
- hashCode() - Method in class jsonvalues.JsArray
-
equals method is inherited, so it's implemented.
- hashCode() - Method in class jsonvalues.JsBigDec
-
Returns the hashcode of this json big decimal
- hashCode() - Method in class jsonvalues.JsBigInt
-
Returns the hashcode of this json big integer.
- hashCode() - Method in class jsonvalues.JsBinary
- hashCode() - Method in class jsonvalues.JsBool
-
Returns the hashcode of this json boolean.
- hashCode() - Method in class jsonvalues.JsDouble
-
Returns the hashcode of this json double.
- hashCode() - Method in class jsonvalues.JsInstant
- hashCode() - Method in class jsonvalues.JsInt
-
Returns the hashcode of this json integer.
- hashCode() - Method in class jsonvalues.JsLong
-
Returns the hashcode of this json long.
- hashCode() - Method in class jsonvalues.JsNothing
-
Returns the hashcode of this JsNothing.
- hashCode() - Method in class jsonvalues.JsNull
-
Returns the hashcode of this json null
- hashCode() - Method in class jsonvalues.JsObj
-
equals method is inherited, so it's implemented.
- hashCode() - Method in class jsonvalues.JsPair
-
Returns the hashcode of this pair.
- hashCode() - Method in class jsonvalues.JsPath
-
Returns the hashcode of this path
- hashCode() - Method in class jsonvalues.JsStr
-
Returns the hashcode of this json string.
- hashCode() - Method in class jsonvalues.Key
-
Returns the hashcode of this key.
- head() - Method in class jsonvalues.JsArray
-
Returns the first element of this array.
- head() - Method in class jsonvalues.JsObj
-
Returns a pair with an arbitrary key of this object and its associated element.
- head() - Method in class jsonvalues.JsPath
-
Returns the head of this path if it's not empty, throwing an exception otherwise.
I
- id() - Method in class jsonvalues.JsArray
- id() - Method in class jsonvalues.JsBigDec
- id() - Method in class jsonvalues.JsBigInt
- id() - Method in class jsonvalues.JsBinary
- id() - Method in class jsonvalues.JsBool
- id() - Method in class jsonvalues.JsDouble
- id() - Method in class jsonvalues.JsInstant
- id() - Method in class jsonvalues.JsInt
- id() - Method in class jsonvalues.JsLong
- id() - Method in class jsonvalues.JsNothing
- id() - Method in class jsonvalues.JsNull
- id() - Method in class jsonvalues.JsObj
- id() - Method in class jsonvalues.JsStr
- id() - Method in interface jsonvalues.JsValue
- ID - Static variable in class jsonvalues.JsArray
- ID - Static variable in class jsonvalues.JsBigDec
- ID - Static variable in class jsonvalues.JsBigInt
- ID - Static variable in class jsonvalues.JsBinary
- ID - Static variable in class jsonvalues.JsBool
- ID - Static variable in class jsonvalues.JsDouble
- ID - Static variable in class jsonvalues.JsInstant
- ID - Static variable in class jsonvalues.JsInt
- ID - Static variable in class jsonvalues.JsLong
- ID - Static variable in class jsonvalues.JsNothing
- ID - Static variable in class jsonvalues.JsNull
- ID - Static variable in class jsonvalues.JsObj
- ID - Static variable in class jsonvalues.JsStr
- ifEmptyElse(Supplier<A>, Supplier<A>) - Method in interface jsonvalues.Json
-
Declarative way of implementing if(this.isEmpty()) return emptySupplier.get() else return nonEmptySupplier.get()
- ifNothing(JsValue) - Method in interface jsonvalues.JsValue
-
returns the specified default value if nothing or the same this object
- ifNull(JsValue) - Method in interface jsonvalues.JsValue
-
returns the specified default value if null or the same this object
- inc() - Method in class jsonvalues.JsPath
-
Returns a new path incrementing the last index by one, throwing an UserError if the last Position is not an index
- index(int) - Method in class jsonvalues.JsPath
-
Returns a new path appending an index with the given value to the back of this path.
- Index - Class in jsonvalues
-
represents the index of a value in an json array.
- init() - Method in class jsonvalues.JsArray
-
Returns all the elements of this array except the last one.
- init() - Method in class jsonvalues.JsPath
-
Returns a new path without the last Position of this path.
- INSTANCE - Static variable in class com.dslplatform.json.MyDslJson
- INSTANCE - Static variable in class com.dslplatform.json.parsers.JsSpecParsers
- instant - Static variable in class jsonvalues.spec.JsSpecs
-
non-nullable array spec
- instant(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the array of bytes at an index in an array
- instant(int) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the instant located at an index in an array
- instant(String) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on an instant located at a key in an object.
- instant(String) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the instant located at a key in an object
- instant(Predicate<Instant>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable json object that satisfies the given predicate
- instant(JsPath) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the array of bytes located at a path in an array
- instant(JsPath) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the instant located at a path in an array
- instant(JsPath) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on an instant located at a path in an object.
- instant(JsPath) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the instant located at a path in an object
- INSTANT_CONDITION - jsonvalues.spec.ERROR_CODE
- INSTANT_EXPECTED - jsonvalues.spec.ERROR_CODE
- instantPrism - Static variable in class jsonvalues.JsStr
- INT_CONDITION - jsonvalues.spec.ERROR_CODE
- INT_EXPECTED - jsonvalues.spec.ERROR_CODE
- integer - Static variable in class jsonvalues.gen.JsGens
-
Generates an integer number
- integer - Static variable in class jsonvalues.spec.JsSpecs
-
non-nullable integer number
- integer(IntPredicate) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable integer number that satisfies the given predicate
- integral - Static variable in class jsonvalues.spec.JsSpecs
-
non-nullable integral number
- integral(Predicate<BigInteger>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable integral number that satisfies the given predicate
- INTEGRAL_CONDITION - jsonvalues.spec.ERROR_CODE
- INTEGRAL_EXPECTED - jsonvalues.spec.ERROR_CODE
- integralNum(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the integral number located at an index in an array
- integralNum(int) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the integral number located at an index in an array
- integralNum(String) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a integral number located at a key in an object.
- integralNum(String) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the bigint number located at a path in an object
- integralNum(JsPath) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the integral number located at a path in an array
- integralNum(JsPath) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the integral number located at a path in an array
- integralNum(JsPath) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a integral number located at a path in an object.
- integralNum(JsPath) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the integral number located at a path in an object
- intersection(JsArray, JsArray.TYPE) - Method in class jsonvalues.JsArray
-
this.intersection(that, SET)
returns an array with the elements that exist in boththis
andthat
. - intersection(JsObj, JsArray.TYPE) - Method in class jsonvalues.JsObj
-
this.intersection(that, SET)
returns an array with the elements that exist in boththis
andthat
this.intersection(that, MULTISET)
returns an array with the elements that exist in boththis
andthat
, being duplicates allowed. - intersectionAll(JsArray) - Method in class jsonvalues.JsArray
-
this.intersectionAll(that)
behaves asthis.intersection(that, LIST)
, but for those elements that are containers of the same type and are located at the same position, the result is their intersection. - intersectionAll(JsObj, JsArray.TYPE) - Method in class jsonvalues.JsObj
-
this.intersectionAll(that)
behaves asthis.intersection(that, LIST)
, but for those elements that are containers of the same type and are located at the same position, the result is their intersection. - intNum(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the integer number located at an index in an array
- intNum(int) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the integer number located at an index in an array
- intNum(String) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a integer number located at a key in an object.
- intNum(String) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the integer number located at a key in an object
- intNum(JsPath) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the integer number located at a path in an array
- intNum(JsPath) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the integer number located at a path in an array
- intNum(JsPath) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a integer number located at a path in an object.
- intNum(JsPath) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the integer number located at a path in an object
- isArray() - Method in class jsonvalues.JsArray
- isArray() - Method in interface jsonvalues.JsValue
- isArray(Predicate<JsArray>) - Method in interface jsonvalues.JsValue
-
Returns true if this elem is a JsArray and satisfies the given predicate
- isBigDec() - Method in class jsonvalues.JsBigDec
- isBigDec() - Method in interface jsonvalues.JsValue
- isBigDec(Predicate<BigDecimal>) - Method in interface jsonvalues.JsValue
-
Returns true if this elem is a JsBigDec and satisfies the given predicate
- isBigInt() - Method in class jsonvalues.JsBigInt
- isBigInt() - Method in interface jsonvalues.JsValue
- isBigInt(Predicate<BigInteger>) - Method in interface jsonvalues.JsValue
-
Returns true if this elem is a JsBigInt and satisfies the given predicate
- isBinary() - Method in class jsonvalues.JsBinary
- isBinary() - Method in class jsonvalues.JsStr
- isBinary() - Method in interface jsonvalues.JsValue
- isBool() - Method in class jsonvalues.JsBool
- isBool() - Method in interface jsonvalues.JsValue
- isDecimal() - Method in interface jsonvalues.JsValue
- isDouble() - Method in class jsonvalues.JsDouble
- isDouble() - Method in interface jsonvalues.JsValue
- isDouble(DoublePredicate) - Method in interface jsonvalues.JsValue
-
Returns true if this elem is a JsDouble and satisfies the given predicate
- isEmpty - Variable in class jsonvalues.Prism
-
check if there is no target
- isEmpty() - Method in class jsonvalues.JsArray
- isEmpty() - Method in class jsonvalues.JsObj
- isEmpty() - Method in interface jsonvalues.Json
-
return true if there's no element in this json
- isEmpty() - Method in class jsonvalues.JsPath
-
Returns true if the path is empty.
- isFalse() - Method in class jsonvalues.JsBool
- isFalse() - Method in interface jsonvalues.JsValue
- isIndex() - Method in class jsonvalues.Index
-
Returns true.
- isIndex() - Method in class jsonvalues.Key
-
Returns false.
- isIndex() - Method in interface jsonvalues.Position
-
Returns true if this position is an index.
- isIndex(IntPredicate) - Method in interface jsonvalues.Position
-
Returns true if this position is an index and its index tested on a given predicate is true.
- isInstant() - Method in class jsonvalues.JsInstant
- isInstant() - Method in class jsonvalues.JsStr
- isInstant() - Method in interface jsonvalues.JsValue
- isInstant(Predicate<Instant>) - Method in interface jsonvalues.JsValue
-
Returns true if this elem is a JsInstant and satisfies the given predicate
- isInt() - Method in class jsonvalues.JsInt
- isInt() - Method in interface jsonvalues.JsValue
- isInt(IntPredicate) - Method in interface jsonvalues.JsValue
-
Returns true if this elem is a JsInt and satisfies the given predicate
- isIntegral() - Method in interface jsonvalues.JsValue
- isJson() - Method in interface jsonvalues.JsValue
- isJson(Predicate<Json<?>>) - Method in interface jsonvalues.JsValue
-
Returns true if this elem is a Json and satisfies the given predicate
- isKey() - Method in class jsonvalues.Index
-
Returns false.
- isKey() - Method in class jsonvalues.Key
-
Returns true.
- isKey() - Method in interface jsonvalues.Position
-
Returns true if this position is an key.
- isKey(Predicate<String>) - Method in interface jsonvalues.Position
-
Returns true if this position is a key and its name tested on a given predicate is true.
- isLong() - Method in class jsonvalues.JsLong
- isLong() - Method in interface jsonvalues.JsValue
- isLong(LongPredicate) - Method in interface jsonvalues.JsValue
-
Returns true if this elem is a JsLong and satisfies the given predicate
- isNotEmpty() - Method in interface jsonvalues.Json
-
return true if this json it not empty
- isNothing() - Method in class jsonvalues.JsNothing
- isNothing() - Method in interface jsonvalues.JsValue
- isNotJson() - Method in interface jsonvalues.JsValue
- isNotNothing() - Method in interface jsonvalues.JsValue
- isNotNull() - Method in interface jsonvalues.JsValue
- isNotNumber() - Method in interface jsonvalues.JsValue
- isNull() - Method in class jsonvalues.JsNull
- isNull() - Method in interface jsonvalues.JsValue
- isNumber() - Method in class jsonvalues.JsNumber
- isNumber() - Method in interface jsonvalues.JsValue
- isObj() - Method in class jsonvalues.JsObj
- isObj() - Method in interface jsonvalues.JsValue
- isObj(Predicate<JsObj>) - Method in interface jsonvalues.JsValue
-
Returns true if this elem is a JsObj and satisfies the given predicate
- isRequired() - Method in class jsonvalues.spec.JsArrayOfJsObjSpec
- isRequired() - Method in class jsonvalues.spec.JsObjSpec
- isRequired() - Method in interface jsonvalues.spec.JsSpec
- isRequired() - Method in class jsonvalues.spec.JsTupleSpec
- isSameType(JsValue) - Method in interface jsonvalues.JsValue
-
returns true if this elem and the given have the same type
- isStr() - Method in class jsonvalues.JsStr
- isStr() - Method in interface jsonvalues.JsValue
- isStr(Predicate<String>) - Method in interface jsonvalues.JsValue
-
Returns true if this elem is a JsStr and satisfies the given predicate
- isTrue() - Method in class jsonvalues.JsBool
- isTrue() - Method in interface jsonvalues.JsValue
- iterator() - Method in class jsonvalues.JsArray
- iterator() - Method in class jsonvalues.JsObj
J
- JsArray - Class in jsonvalues
-
Represents a json array, which is an ordered list of elements.
- JsArray() - Constructor for class jsonvalues.JsArray
- JsArray.TYPE - Enum in jsonvalues
-
Type of arrays: SET, MULTISET or LIST.
- JsArrayConsole - Class in jsonvalues.console
-
represents a supplier of a completable future than composes a json array from the user inputs in the standard console.
- JsArrayConsole() - Constructor for class jsonvalues.console.JsArrayConsole
- JsArrayFuture - Class in jsonvalues.future
-
Represents a supplier of a completable future which result is a json array.
- JsArrayLenses() - Constructor for class jsonvalues.JsOptics.JsArrayLenses
- JsArrayOfJsObjSpec - Class in jsonvalues.spec
- JsArrayOptics() - Constructor for class jsonvalues.JsOptics.JsArrayOptics
- JsArrayOptionals() - Constructor for class jsonvalues.JsOptics.JsArrayOptionals
- JsArrayParser - Class in jsonvalues.spec
- JsArrayParser(JsArraySpec) - Constructor for class jsonvalues.spec.JsArrayParser
- JsArraySerializer - Class in com.dslplatform.json.serializers
- JsArraySerializer(JsValueSerializer) - Constructor for class com.dslplatform.json.serializers.JsArraySerializer
- JsArraySpec - Interface in jsonvalues.spec
- JsArraySpecParser - Class in com.dslplatform.json.parsers
- JsArraySpecParser(Vector<JsSpecParser>) - Constructor for class com.dslplatform.json.parsers.JsArraySpecParser
- JsArraySupplier - Class in jsonvalues.supplier
-
Represents a Json array of suppliers that combines every supplier and produces as a result a Json array
- JsBigDec - Class in jsonvalues
-
Represents an immutable json number of type BigDecimal.
- JsBigInt - Class in jsonvalues
-
Represents an immutable json number of type BigInteger.
- JsBinary - Class in jsonvalues
-
Represents an array of bytes.
- JsBinaryLens<S extends Json<S>> - Class in jsonvalues
-
Represent a Lens which focus is an array of bytes located at a path in a Json
- JsBool - Class in jsonvalues
-
Represents an immutable json boolean.
- JsConsole<T extends JsValue> - Interface in jsonvalues.console
-
Represents a functional effect than when execute creates e JsValue
- JsDouble - Class in jsonvalues
-
Represents an immutable json number of type double.
- JsErrorPair - Class in jsonvalues.spec
- JsFuture<T extends JsValue> - Interface in jsonvalues.future
-
Represents a supplier of a completable future which result is a JsValue
- JsFutures - Class in jsonvalues.future
- JsFutures() - Constructor for class jsonvalues.future.JsFutures
- JsGen<R extends JsValue> - Interface in jsonvalues.gen
- JsGens - Class in jsonvalues.gen
-
Class with different kind of generators
- JsGens() - Constructor for class jsonvalues.gen.JsGens
- JsInstant - Class in jsonvalues
-
Represents an immutable instant.
- JsInstantLens<S extends Json<S>> - Class in jsonvalues
-
Represent a Lens which focus is an Instant located at a path in a Json
- JsInt - Class in jsonvalues
-
Represents an immutable json number of type integer.
- JsIOs - Class in jsonvalues.console
- JsIOs() - Constructor for class jsonvalues.console.JsIOs
- JsLong - Class in jsonvalues
-
Represents an immutable json number of type long.
- JsNothing - Class in jsonvalues
-
It's a special json element that represents 'nothing'.
- JsNull - Class in jsonvalues
-
Represents null, which a valid json value.
- JsNumber - Class in jsonvalues
-
Represents an immutable json number.
- JsNumber() - Constructor for class jsonvalues.JsNumber
- JsObj - Class in jsonvalues
-
Represents a json object, which is an unordered set of name/element pairs.
- JsObj() - Constructor for class jsonvalues.JsObj
- JsObjConsole - Class in jsonvalues.console
-
represents a supplier of a completable future than composes a json object from the user inputs on the console.
- JsObjConsole() - Constructor for class jsonvalues.console.JsObjConsole
- JsObjFuture - Class in jsonvalues.future
-
Represents a supplier of a completable future which result is a json object.
- JsObjGen - Class in jsonvalues.gen
-
represent a generator of Json objects.
- JsObjLens<S extends Json<S>> - Class in jsonvalues
-
Represent a Lens which focus is a json object located at a path is a Json
- JsObjLenses() - Constructor for class jsonvalues.JsOptics.JsObjLenses
- JsObjOptics() - Constructor for class jsonvalues.JsOptics.JsObjOptics
- JsObjOptional() - Constructor for class jsonvalues.JsOptics.JsObjOptional
- JsObjParser - Class in jsonvalues.spec
- JsObjParser(JsObjSpec) - Constructor for class jsonvalues.spec.JsObjParser
- JsObjSerializer - Class in com.dslplatform.json.serializers
- JsObjSerializer(JsValueSerializer) - Constructor for class com.dslplatform.json.serializers.JsObjSerializer
- JsObjSpec - Class in jsonvalues.spec
-
Represents a specification of a Json object
- JsObjSupplier - Class in jsonvalues.supplier
-
Represents a Json object of suppliers that combines every supplier and produces as a result a Json object
- Json<T extends Json<T>> - Interface in jsonvalues
-
Represents a json of type T, where T is the type of the container, either a JsObj or a JsArray.
- jsonvalues - package jsonvalues
-
json-values is a one-package and zero-dependency library to work with jsons in a declarative and functional way.
- jsonvalues.console - package jsonvalues.console
- jsonvalues.future - package jsonvalues.future
- jsonvalues.gen - package jsonvalues.gen
- jsonvalues.spec - package jsonvalues.spec
- jsonvalues.supplier - package jsonvalues.supplier
- JsOptics - Class in jsonvalues
-
represents optics defined for json objects and arrays
- JsOptics() - Constructor for class jsonvalues.JsOptics
- JsOptics.JsArrayLenses - Class in jsonvalues
-
represents all the lenses defined for a Json array
- JsOptics.JsArrayOptics - Class in jsonvalues
-
represents all the optics defined for a Json array
- JsOptics.JsArrayOptionals - Class in jsonvalues
-
represents all the S defined for a Json array
- JsOptics.JsObjLenses - Class in jsonvalues
-
represents all the lenses defined for a Json object
- JsOptics.JsObjOptics - Class in jsonvalues
-
represents all the optics defined for a Json object
- JsOptics.JsObjOptional - Class in jsonvalues
-
represents all the S defined for a Json object
- JsPair - Class in jsonvalues
-
Immutable pair which represents a value and its location: (path, value).
- JsParserException - Exception in com.dslplatform.json.parsers
- JsParserException(String) - Constructor for exception com.dslplatform.json.parsers.JsParserException
- JsParserException(Throwable) - Constructor for exception com.dslplatform.json.parsers.JsParserException
- JsPath - Class in jsonvalues
-
Represents the full path location of an element in a json.
- JsSpec - Interface in jsonvalues.spec
- JsSpecParser - Interface in com.dslplatform.json.parsers
- JsSpecParsers - Class in com.dslplatform.json.parsers
- JsSpecs - Class in jsonvalues.spec
- JsSpecs() - Constructor for class jsonvalues.spec.JsSpecs
- JsStr - Class in jsonvalues
-
Represents an immutable json string.
- JsTupleSpec - Class in jsonvalues.spec
-
Represents a specification of every element of a Json array.
- JsValue - Interface in jsonvalues
-
Represents a json element of any type.
- JsValueSerializer - Class in com.dslplatform.json.serializers
- JsValueSerializer() - Constructor for class com.dslplatform.json.serializers.JsValueSerializer
K
- key(String) - Method in class jsonvalues.JsPath
-
creates a new JsPath appending the key to
this
JsPath. - Key - Class in jsonvalues
-
represents the key of a value in a json object
- keySet() - Method in class jsonvalues.JsObj
-
Returns a set containing each key fo this object.
L
- last() - Method in class jsonvalues.JsArray
-
Returns the last element of this array.
- last() - Method in class jsonvalues.JsPath
-
returns the last position
this
JsPath if it's not empty or a exception otherwise. - lenient(String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a lenient JsObjSpec of one mappings.
- lenient(String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a lenient JsObjSpec of two mappings.
- lenient(String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a lenient JsObjSpec of three mappings.
- lenient(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a lenient JsObjSpec of four mappings.
- lenient(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a lenient JsObjSpec of five mappings.
- lenient(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a lenient JsObjSpec of six mappings.
- lenient(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a lenient JsObjSpec of seven mappings.
- lenient(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a lenient JsObjSpec of eight mappings.
- lenient(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a lenient JsObjSpec of nine mappings.
- lenient(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a lenient JsObjSpec of ten mappings.
- lenient(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a lenient JsObjSpec of eleven mappings.
- lenient(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a lenient JsObjSpec of twelve mappings.
- lenient(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a lenient JsObjSpec of thirteen mappings.
- lenient(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a lenient JsObjSpec of fourteen mappings.
- lenient(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a lenient JsObjSpec of fifteen mappings.
- lenient(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a lenient JsObjSpec of sixteen mappings.
- lenient(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a lenient JsObjSpec of seventeen mappings.
- lenient(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a lenient JsObjSpec of eighteen mappings.
- lenient(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a lenient JsObjSpec of nineteen mappings.
- lenient(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a lenient JsObjSpec of twenty mappings.
- lens - Static variable in class jsonvalues.JsArray
-
lenses defined for a Json array
- lens - Static variable in class jsonvalues.JsObj
-
lenses defined for a Json object
- lens - Variable in class jsonvalues.JsOptics.JsArrayOptics
- lens - Variable in class jsonvalues.JsOptics.JsObjOptics
- Lens<S,O> - Class in jsonvalues
-
A Lens is an optic that can be seen as a pair of functions:
- get: S => O i.e. from an S, we can extract an O - set: (O, S) => S i.e. from an S and a O, we obtain a S. Unless a prism, to go back to S we need another S.
Typically a Lens can be defined between a Product (e.g. - Lens(Function<S, O>, Function<O, Function<S, S>>) - Constructor for class jsonvalues.Lens
- letter - Static variable in class jsonvalues.gen.JsGens
-
Generates a letter from a-z
- LIST - jsonvalues.JsArray.TYPE
-
The order of data matters and duplicate data items are permitted.
- LONG_CONDITION - jsonvalues.spec.ERROR_CODE
- LONG_EXPECTED - jsonvalues.spec.ERROR_CODE
- longInteger - Static variable in class jsonvalues.gen.JsGens
-
Generates a long number
- longInteger - Static variable in class jsonvalues.spec.JsSpecs
-
non-nullable long number
- longInteger(LongPredicate) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable long number that satisfies the given predicate
- longNum(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the long number located at an index in an array
- longNum(int) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the long number located at an index in an array
- longNum(String) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a long number located at a key in an object.
- longNum(String) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the long number located at a key in an object
- longNum(JsPath) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the long number located at a path in an array
- longNum(JsPath) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the long number located at a path in an array
- longNum(JsPath) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a long number located at a path in an object.
- longNum(JsPath) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the long number located at a path in an object
M
- MalformedJson - Exception in jsonvalues
-
Exception returned when a string can not be parsed into a Json or the json parsed has a different type than the expected.
- map(DoubleUnaryOperator) - Method in class jsonvalues.JsDouble
-
Maps this json double into another one.
- map(Function<? super T, ? extends R>) - Method in interface jsonvalues.Trampoline
-
maps this trampoline which returns a T, into another one that returns a R.
- map(Function<R, T>) - Method in interface jsonvalues.gen.JsGen
-
Returns this generator but with the values transformed by the given map function
- map(IntUnaryOperator) - Method in class jsonvalues.JsInt
-
Maps this json integer into another one.
- map(LongUnaryOperator) - Method in class jsonvalues.JsLong
-
Maps this json long into another one.
- map(UnaryOperator<String>) - Method in class jsonvalues.JsStr
-
Maps this JsStr into another one.
- map(UnaryOperator<BigDecimal>) - Method in class jsonvalues.JsBigDec
-
Maps this JsBigDec into another one
- map(UnaryOperator<BigInteger>) - Method in class jsonvalues.JsBigInt
-
Maps this json bigint into another one.
- map(UnaryOperator<T>) - Method in interface jsonvalues.Json
- mapAllKeys(Function<? super JsPair, String>) - Method in class jsonvalues.JsArray
- mapAllKeys(Function<? super JsPair, String>) - Method in class jsonvalues.JsObj
- mapAllKeys(Function<? super JsPair, String>) - Method in interface jsonvalues.Json
-
Maps all the keys of this json.
- mapAllObjs(BiFunction<? super JsPath, ? super JsObj, JsValue>) - Method in class jsonvalues.JsArray
- mapAllObjs(BiFunction<? super JsPath, ? super JsObj, JsValue>) - Method in class jsonvalues.JsObj
- mapAllObjs(BiFunction<? super JsPath, ? super JsObj, JsValue>) - Method in interface jsonvalues.Json
-
Maps all the jsons of this json.
- mapAllValues(Function<? super JsPair, ? extends JsValue>) - Method in class jsonvalues.JsArray
- mapAllValues(Function<? super JsPair, ? extends JsValue>) - Method in class jsonvalues.JsObj
- mapAllValues(Function<? super JsPair, ? extends JsValue>) - Method in interface jsonvalues.Json
-
Maps all the values of this json.
- mapKeys(Function<? super JsPair, String>) - Method in class jsonvalues.JsArray
- mapKeys(Function<? super JsPair, String>) - Method in class jsonvalues.JsObj
- mapKeys(Function<? super JsPair, String>) - Method in interface jsonvalues.Json
-
Maps the keys in the first level of this json.
- mapKeys(UnaryOperator<String>) - Method in class jsonvalues.JsPath
-
Creates a new JsPath applying the given map function to every key of this path.
- mapObjs(BiFunction<? super JsPath, ? super JsObj, JsValue>) - Method in class jsonvalues.JsArray
- mapObjs(BiFunction<? super JsPath, ? super JsObj, JsValue>) - Method in class jsonvalues.JsObj
- mapObjs(BiFunction<? super JsPath, ? super JsObj, JsValue>) - Method in interface jsonvalues.Json
-
Maps the jsons in the first level of this json.
- mapValues(Function<? super JsPair, ? extends JsValue>) - Method in class jsonvalues.JsArray
- mapValues(Function<? super JsPair, ? extends JsValue>) - Method in class jsonvalues.JsObj
- mapValues(Function<? super JsPair, ? extends JsValue>) - Method in interface jsonvalues.Json
-
Maps the values in the first level of this json.
- match(Function<String, T>, IntFunction<T>) - Method in interface jsonvalues.Position
-
Returns a new value applying pattern matching on the Position type.
- modify - Variable in class jsonvalues.Lens
-
function to modify the whole by modifying the subpart with a function
- modify - Variable in class jsonvalues.Option
-
modify the target of an optional with a function if it exists, returing the same source otherwise
- modify - Variable in class jsonvalues.Prism
-
modify the target of a Prism with a function, returning the same source if the prism is not matching.
- modifyOpt - Variable in class jsonvalues.Prism
-
modify the target of a Prism with a function, returning empty if the prism is not matching.
- more(Trampoline<Trampoline<T>>) - Static method in interface jsonvalues.Trampoline
- MULTISET - jsonvalues.JsArray.TYPE
-
The order of data items does not matter, but in this case duplicate data items are permitted.
- MyDslJson<Object> - Class in com.dslplatform.json
- MyNumberConverter - Class in com.dslplatform.json
-
dsl-json number deserializers accept numbers wrapped in strings, which is not a desirable behaviour from my point of view.
- MyNumberConverter() - Constructor for class com.dslplatform.json.MyNumberConverter
N
- n - Variable in class jsonvalues.Index
-
The index number.
- name - Variable in class jsonvalues.Key
-
name of the key.
- natural - Static variable in class jsonvalues.gen.JsGens
-
Generates a positive integer (zero included)
- nonEmpty - Variable in class jsonvalues.Prism
-
check if there is a target
- NOTHING - Static variable in class jsonvalues.JsNothing
-
The singleton nothing value.
- NULL - jsonvalues.spec.ERROR_CODE
- NULL - Static variable in class jsonvalues.JsNull
-
The singleton null value.
- NULL_EXPECTED - jsonvalues.spec.ERROR_CODE
- nullable() - Method in interface jsonvalues.gen.JsGen
-
returns a new generator that generates the same elements as this generator and NULL
- nullable() - Method in class jsonvalues.spec.JsArrayOfJsObjSpec
- nullable() - Method in class jsonvalues.spec.JsObjSpec
- nullable() - Method in interface jsonvalues.spec.JsSpec
- nullable() - Method in class jsonvalues.spec.JsTupleSpec
- nullOrArray(JsonReader<?>) - Method in class com.dslplatform.json.parsers.JsArraySpecParser
- number - Static variable in class jsonvalues.spec.JsSpecs
-
non-nullable number
- number(Predicate<JsNumber>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable number that satisfies the given predicate
- NUMBER_CONDITION - jsonvalues.spec.ERROR_CODE
- NUMBER_EXPECTED - jsonvalues.spec.ERROR_CODE
O
- obj - Static variable in class jsonvalues.JsOptics
- obj - Static variable in class jsonvalues.spec.JsSpecs
-
non-nullable json object spec
- obj(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the json object located at an index in an array
- obj(int) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the json object located at an index in an array
- obj(String) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a json object located at a key in an object.
- obj(String) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the object located at a key in an object
- obj(Predicate<JsObj>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable json object that satisfies the given predicate
- obj(JsPath) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the json object located at a path in an array
- obj(JsPath) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the object located at a path in an array
- obj(JsPath) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a json object located at a path in an object.
- obj(JsPath) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the object located at a path in an object
- OBJ_CONDITION - jsonvalues.spec.ERROR_CODE
- OBJ_EXPECTED - jsonvalues.spec.ERROR_CODE
- of(boolean) - Static method in class jsonvalues.JsBool
-
Static factory method to create a JsBool from a boolean primitive type.
- of(boolean, boolean...) - Static method in class jsonvalues.JsArray
-
Returns an immutable array from one or more booleans.
- of(byte[]) - Static method in class jsonvalues.JsBinary
-
Creates a JsBinary from an array of bytes
- of(double) - Static method in class jsonvalues.JsDouble
-
Static factory method to create a JsDouble from a double primitive type.
- of(double, double...) - Static method in class jsonvalues.JsArray
-
Returns an immutable array from one or more doubles.
- of(int) - Static method in class jsonvalues.Index
-
Returns a new instance witch represents the given index in an array.
- of(int) - Static method in class jsonvalues.JsInt
-
Static factory method to create a JsInt from an integer primitive type.
- of(int, int...) - Static method in class jsonvalues.JsArray
-
Returns an immutable array from one or more integers.
- of(long) - Static method in class jsonvalues.JsLong
-
Static factory method to create a JsLong from a long primitive type.
- of(long, long...) - Static method in class jsonvalues.JsArray
-
Returns an immutable array from one or more longs.
- of(String) - Static method in class jsonvalues.JsBinary
-
Creates a JsBinary from an array of bytes encoded as a string in base64
- of(String) - Static method in class jsonvalues.JsStr
-
Static factory method to create a JsStr from a string.
- of(String) - Static method in class jsonvalues.Key
-
Returns a new instance which represents a key with the given name in a json object.
- of(String, boolean) - Static method in class jsonvalues.JsPair
-
Returns a json pair from the key and the boolean.
- of(String, double) - Static method in class jsonvalues.JsPair
-
Returns a json pair from the key and the double.
- of(String, int) - Static method in class jsonvalues.JsPair
-
Returns a json pair from the key and the integer.
- of(String, long) - Static method in class jsonvalues.JsPair
-
Returns a json pair from the key and the long.
- of(String, String) - Static method in class jsonvalues.JsPair
-
Returns a json pair from the key and the string.
- of(String, String...) - Static method in class jsonvalues.JsArray
-
Returns an immutable array from one or more strings.
- of(String, BigDecimal) - Static method in class jsonvalues.JsPair
-
Returns a json pair from the key and the big decimal.
- of(String, BigInteger) - Static method in class jsonvalues.JsPair
-
Returns a json pair from the key and the big integer.
- of(String, Supplier<? extends JsValue>) - Static method in class jsonvalues.supplier.JsObjSupplier
-
static factory method to create a JsObjSupplier of one mapping
- of(String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>) - Static method in class jsonvalues.supplier.JsObjSupplier
-
static factory method to create a JsObjSupplier of one mapping
- of(String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>) - Static method in class jsonvalues.supplier.JsObjSupplier
-
static factory method to create a JsObjSupplier of three mappings
- of(String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>) - Static method in class jsonvalues.supplier.JsObjSupplier
-
static factory method to create a JsObjSupplier of four mappings
- of(String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>) - Static method in class jsonvalues.supplier.JsObjSupplier
-
static factory method to create a JsObjSupplier of five mappings
- of(String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>) - Static method in class jsonvalues.supplier.JsObjSupplier
-
static factory method to create a JsObjSupplier of six mappings
- of(String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>) - Static method in class jsonvalues.supplier.JsObjSupplier
-
static factory method to create a JsObjSupplier of seven mappings
- of(String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>) - Static method in class jsonvalues.supplier.JsObjSupplier
-
static factory method to create a JsObjSupplier of eight mappings
- of(String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>) - Static method in class jsonvalues.supplier.JsObjSupplier
-
static factory method to create a JsObjSupplier of nine mappings
- of(String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>) - Static method in class jsonvalues.supplier.JsObjSupplier
-
static factory method to create a JsObjSupplier of ten mappings
- of(String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>) - Static method in class jsonvalues.supplier.JsObjSupplier
-
static factory method to create a JsObjSupplier of eleven mappings
- of(String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>) - Static method in class jsonvalues.supplier.JsObjSupplier
-
static factory method to create a JsObjSupplier of twelve mappings
- of(String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>) - Static method in class jsonvalues.supplier.JsObjSupplier
-
static factory method to create a JsObjSupplier of thirteen mappings
- of(String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>) - Static method in class jsonvalues.supplier.JsObjSupplier
-
static factory method to create a JsObjSupplier of fourteen mappings
- of(String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>, String, Supplier<? extends JsValue>) - Static method in class jsonvalues.supplier.JsObjSupplier
-
static factory method to create a JsObjSupplier of fifteen mappings
- of(String, JsConsole<?>) - Static method in class jsonvalues.console.JsObjConsole
-
static factory method to create a JsObjIO of one mapping
- of(String, JsConsole<?>, String, JsConsole<?>) - Static method in class jsonvalues.console.JsObjConsole
-
static factory method to create a JsObjIO of two mappings
- of(String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>) - Static method in class jsonvalues.console.JsObjConsole
-
static factory method to create a JsObjIO of three mappings
- of(String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>) - Static method in class jsonvalues.console.JsObjConsole
-
static factory method to create a JsObjIO of four mappings
- of(String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>) - Static method in class jsonvalues.console.JsObjConsole
-
static factory method to create a JsObjIO of five mappings
- of(String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>) - Static method in class jsonvalues.console.JsObjConsole
-
static factory method to create a JsObjIO of six mappings
- of(String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>) - Static method in class jsonvalues.console.JsObjConsole
-
static factory method to create a JsObjIO of seven mappings
- of(String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>) - Static method in class jsonvalues.console.JsObjConsole
-
static factory method to create a JsObjIO of eight mappings
- of(String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>) - Static method in class jsonvalues.console.JsObjConsole
-
static factory method to create a JsObjIO of nine mappings
- of(String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>) - Static method in class jsonvalues.console.JsObjConsole
-
static factory method to create a JsObjIO of ten mappings
- of(String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>) - Static method in class jsonvalues.console.JsObjConsole
-
static factory method to create a JsObjIO of eleven mappings
- of(String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>) - Static method in class jsonvalues.console.JsObjConsole
-
static factory method to create a JsObjIO of twelve mappings
- of(String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>) - Static method in class jsonvalues.console.JsObjConsole
-
static factory method to create a JsObjIO of thirteen mappings
- of(String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>) - Static method in class jsonvalues.console.JsObjConsole
-
static factory method to create a JsObjIO of fourteen mappings
- of(String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>) - Static method in class jsonvalues.console.JsObjConsole
-
static factory method to create a JsObjIO of fifteen mappings
- of(String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>, String, JsConsole<?>) - Static method in class jsonvalues.console.JsObjConsole
-
static factory method to create a JsObjIO of sixteen mappings
- of(String, JsFuture<?>) - Static method in class jsonvalues.future.JsObjFuture
-
static factory method to create a JsObjFuture of one mapping
- of(String, JsFuture<?>, String, JsFuture<?>) - Static method in class jsonvalues.future.JsObjFuture
-
static factory method to create a JsObjFuture of one mapping
- of(String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>) - Static method in class jsonvalues.future.JsObjFuture
-
static factory method to create a JsObjFuture of three mappings
- of(String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>) - Static method in class jsonvalues.future.JsObjFuture
-
static factory method to create a JsObjFuture of four mappings
- of(String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>) - Static method in class jsonvalues.future.JsObjFuture
-
static factory method to create a JsObjFuture of five mappings
- of(String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>) - Static method in class jsonvalues.future.JsObjFuture
-
static factory method to create a JsObjFuture of six mappings
- of(String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>) - Static method in class jsonvalues.future.JsObjFuture
-
static factory method to create a JsObjFuture of seven mappings
- of(String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>) - Static method in class jsonvalues.future.JsObjFuture
-
static factory method to create a JsObjFuture of eight mappings
- of(String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>) - Static method in class jsonvalues.future.JsObjFuture
-
static factory method to create a JsObjFuture of nine mappings
- of(String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>) - Static method in class jsonvalues.future.JsObjFuture
-
static factory method to create a JsObjFuture of ten mappings
- of(String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>) - Static method in class jsonvalues.future.JsObjFuture
-
static factory method to create a JsObjFuture of eleven mappings
- of(String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>) - Static method in class jsonvalues.future.JsObjFuture
-
static factory method to create a JsObjFuture of twelve mappings
- of(String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>) - Static method in class jsonvalues.future.JsObjFuture
-
static factory method to create a JsObjFuture of thirteen mappings
- of(String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>) - Static method in class jsonvalues.future.JsObjFuture
-
static factory method to create a JsObjFuture of fourteen mappings
- of(String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>, String, JsFuture<?>) - Static method in class jsonvalues.future.JsObjFuture
-
static factory method to create a JsObjFuture of fifteen mappings
- of(String, JsGen<?>) - Static method in class jsonvalues.gen.JsObjGen
- of(String, JsGen<?>, String, JsGen<?>) - Static method in class jsonvalues.gen.JsObjGen
- of(String, JsGen<?>, String, JsGen<?>, String, JsGen<?>) - Static method in class jsonvalues.gen.JsObjGen
- of(String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>) - Static method in class jsonvalues.gen.JsObjGen
- of(String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>) - Static method in class jsonvalues.gen.JsObjGen
- of(String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>) - Static method in class jsonvalues.gen.JsObjGen
- of(String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>) - Static method in class jsonvalues.gen.JsObjGen
- of(String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>) - Static method in class jsonvalues.gen.JsObjGen
- of(String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>) - Static method in class jsonvalues.gen.JsObjGen
- of(String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>) - Static method in class jsonvalues.gen.JsObjGen
-
static factory method to create a JsObGen of ten mappings
- of(String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>) - Static method in class jsonvalues.gen.JsObjGen
-
static factory method to create a JsObGen of eleven mappings
- of(String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>) - Static method in class jsonvalues.gen.JsObjGen
-
static factory method to create a JsObGen of twelve mappings
- of(String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>) - Static method in class jsonvalues.gen.JsObjGen
-
static factory method to create a JsObGen of thirteen mappings
- of(String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>) - Static method in class jsonvalues.gen.JsObjGen
-
static factory method to create a JsObGen of fourteen mappings
- of(String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>) - Static method in class jsonvalues.gen.JsObjGen
-
static factory method to create a JsObGen of fifteen mappings
- of(String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>) - Static method in class jsonvalues.gen.JsObjGen
-
static factory method to create a JsObGen of sixteen mappings
- of(String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>) - Static method in class jsonvalues.gen.JsObjGen
-
static factory method to create a JsObGen of seventeen mappings
- of(String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>) - Static method in class jsonvalues.gen.JsObjGen
-
static factory method to create a JsObGen of eighteen mappings
- of(String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>) - Static method in class jsonvalues.gen.JsObjGen
-
static factory method to create a JsObGen of nineteen mappings
- of(String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>, String, JsGen<?>) - Static method in class jsonvalues.gen.JsObjGen
-
static factory method to create a JsObGen of twenty mappings
- of(String, JsValue) - Static method in class jsonvalues.JsObj
-
Returns a one-element immutable object.
- of(String, JsValue, String, JsValue) - Static method in class jsonvalues.JsObj
-
Returns a two-element immutable object.
- of(String, JsValue, String, JsValue, String, JsValue) - Static method in class jsonvalues.JsObj
-
Returns a three-element immutable object.
- of(String, JsValue, String, JsValue, String, JsValue, String, JsValue) - Static method in class jsonvalues.JsObj
-
Returns a four-element immutable object.
- of(String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue) - Static method in class jsonvalues.JsObj
-
Returns a five-element immutable object.
- of(String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue) - Static method in class jsonvalues.JsObj
-
Returns a six-element immutable object.
- of(String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue) - Static method in class jsonvalues.JsObj
-
Returns a six-element immutable object.
- of(String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue) - Static method in class jsonvalues.JsObj
-
Returns a six-element immutable object.
- of(String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue) - Static method in class jsonvalues.JsObj
-
Returns a six-element immutable object.
- of(String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue) - Static method in class jsonvalues.JsObj
-
Returns a six-element immutable object.
- of(String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue) - Static method in class jsonvalues.JsObj
-
Returns a six-element immutable object.
- of(String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue) - Static method in class jsonvalues.JsObj
-
Returns a six-element immutable object.
- of(String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue) - Static method in class jsonvalues.JsObj
-
Returns a six-element immutable object.
- of(String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue) - Static method in class jsonvalues.JsObj
-
Returns a six-element immutable object.
- of(String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue, String, JsValue) - Static method in class jsonvalues.JsObj
-
Returns a six-element immutable object.
- of(BigDecimal) - Static method in class jsonvalues.JsBigDec
-
Static factory method to create a JsBigDec from a BigDecimal object.
- of(BigInteger) - Static method in class jsonvalues.JsBigInt
-
Static factory method to create a JsBigInt from BigInteger objects.
- of(BigInteger, BigInteger...) - Static method in class jsonvalues.JsArray
-
Returns an immutable array from one or more big integers.
- of(Instant) - Static method in class jsonvalues.JsInstant
- of(JsPair, JsPair...) - Static method in class jsonvalues.JsArray
-
Returns an immutable array from one or more pairs.
- of(JsPair, JsPair...) - Static method in class jsonvalues.JsObj
-
Returns an immutable object from one or more pairs.
- of(JsPath, boolean) - Static method in class jsonvalues.JsPair
-
Returns a json pair from the path and the boolean.
- of(JsPath, double) - Static method in class jsonvalues.JsPair
-
Returns a json pair from the path and the double.
- of(JsPath, int) - Static method in class jsonvalues.JsPair
-
Returns a json pair from the path and the integer.
- of(JsPath, long) - Static method in class jsonvalues.JsPair
-
Returns a json pair from the path and the long.
- of(JsPath, String) - Static method in class jsonvalues.JsPair
-
Returns a json pair from the path and the string.
- of(JsPath, BigDecimal) - Static method in class jsonvalues.JsPair
-
Returns a json pair from the path and the big decimal.
- of(JsPath, BigInteger) - Static method in class jsonvalues.JsPair
-
Returns a json pair from the path and the big integer.
- of(JsPath, JsValue) - Static method in class jsonvalues.JsPair
-
Returns a json pair from the path and the json element.
- of(JsPath, Error) - Static method in class jsonvalues.spec.JsErrorPair
- of(JsValue) - Static method in class jsonvalues.JsArray
- of(JsValue, JsValue) - Static method in class jsonvalues.JsArray
-
Returns an immutable two-element array.
- of(JsValue, JsValue, JsValue) - Static method in class jsonvalues.JsArray
-
Returns an immutable three-element array.
- of(JsValue, JsValue, JsValue, JsValue) - Static method in class jsonvalues.JsArray
-
Returns an immutable four-element array.
- of(JsValue, JsValue, JsValue, JsValue, JsValue) - Static method in class jsonvalues.JsArray
-
Returns an immutable five-element array.
- of(JsValue, JsValue, JsValue, JsValue, JsValue, JsValue...) - Static method in class jsonvalues.JsArray
-
Returns an immutable array.
- ofArrayOfBool(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfBoolSuchThat(Function<JsArray, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfDecimal(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfDecimalEachSuchThat(Function<BigDecimal, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfDecimalSuchThat(Function<JsArray, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfInt(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfIntEachSuchThat(IntFunction<Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfIntegral(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfIntegralEachSuchThat(Function<BigInteger, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfIntegralSuchThat(Function<JsArray, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfIntSuchThat(Function<JsArray, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfLong(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfLongEachSuchThat(LongFunction<Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfLongSuchThat(Function<JsArray, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfNumber(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfNumberEachSuchThat(Function<JsNumber, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfNumberSuchThat(Function<JsArray, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfObj(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfObjEachSuchThat(Function<JsObj, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfObjSpec(Vector<String>, Map<String, JsSpecParser>, boolean, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfObjSuchThat(Function<JsArray, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfStr(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfStrEachSuchThat(Function<String, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfStrSuchThat(Function<JsArray, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfValue(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfValueEachSuchThat(Function<JsValue, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArrayOfValueSuchThat(Function<JsArray, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofArraySpec(Vector<JsSpecParser>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofBinary(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofBinarySuchThat(Function<byte[], Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofBool(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofDecimal(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofDecimalSuchThat(Function<BigDecimal, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofFalse(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofInstant(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofInstantSuchThat(Function<Instant, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofInt(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofIntegral(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofIntegralSuchThat(Function<BigInteger, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofIntSuchThat(IntFunction<Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofIterable(Iterable<? extends JsValue>) - Static method in class jsonvalues.JsArray
-
returns an immutable json array from an iterable of json elements
- ofIterable(Iterable<Map.Entry<String, JsValue>>) - Static method in class jsonvalues.JsObj
- ofLong(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofLongSuchThat(LongFunction<Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofNumber(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofNumberSuchThat(Function<JsNumber, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofObj(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofObjSpec(Vector<String>, Map<String, JsSpecParser>, boolean, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofObjSuchThat(Function<JsObj, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofStr(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofStrSuchThat(Function<String, Optional<Error>>, boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofTrue(boolean) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofValue() - Method in class com.dslplatform.json.parsers.JsSpecParsers
- ofValueSuchThat(Function<JsValue, Optional<Error>>) - Method in class com.dslplatform.json.parsers.JsSpecParsers
- oneOf(List<O>) - Static method in class jsonvalues.gen.JsGens
-
Creates a generator that randomly chooses a value from the given list
- oneOf(List<O>) - Static method in class jsonvalues.spec.JsSpecs
- oneOf(JsGen<?>, JsGen<?>...) - Static method in class jsonvalues.gen.JsGens
-
Creates a generator that randomly chooses a value from the provided generators
- oneOf(JsValue, JsValue...) - Static method in class jsonvalues.gen.JsGens
-
Creates a generator that randomly chooses a value from the given as parameters
- Option<S,T> - Class in jsonvalues
-
An Optional is an optic that allows seeing into a structure and getting, setting, or modifying an optional focus.
- Option(Function<S, Optional<T>>, Function<T, Function<S, S>>) - Constructor for class jsonvalues.Option
- optional - Static variable in class jsonvalues.JsArray
-
optionals defined for a Json array
- optional - Static variable in class jsonvalues.JsObj
-
optionals defined for a Json object
- optional - Variable in class jsonvalues.JsOptics.JsArrayOptics
- optional - Variable in class jsonvalues.JsOptics.JsObjOptics
- optional() - Method in interface jsonvalues.gen.JsGen
-
returns a new generator that generates the same elements as this generator and NOTHING.
- optional() - Method in class jsonvalues.spec.JsArrayOfJsObjSpec
- optional() - Method in class jsonvalues.spec.JsObjSpec
- optional() - Method in interface jsonvalues.spec.JsSpec
- optional() - Method in class jsonvalues.spec.JsTupleSpec
P
- parse(byte[]) - Method in class jsonvalues.spec.JsArrayParser
-
parses an array of bytes into a Json array that must conform the spec of the parser.
- parse(byte[]) - Method in class jsonvalues.spec.JsObjParser
-
parses an array of bytes into a Json object that must conform the spec of the parser.
- parse(JsonReader<?>) - Method in interface com.dslplatform.json.parsers.JsSpecParser
- parse(InputStream) - Method in class jsonvalues.spec.JsArrayParser
-
parses an input stream of bytes into a Json array that must conform the spec of the parser.
- parse(InputStream) - Method in class jsonvalues.spec.JsObjParser
-
parses an input stream of bytes into a Json object that must conform the spec of the parser.
- parse(String) - Static method in class jsonvalues.JsArray
-
Tries to parse the string into an immutable json array.
- parse(String) - Static method in class jsonvalues.JsObj
-
Tries to parse the string into an immutable object.
- parse(String) - Method in class jsonvalues.spec.JsArrayParser
-
parses a string into a Json array that must conform the spec of the parser.
- parse(String) - Method in class jsonvalues.spec.JsObjParser
-
parses a string into a Json object that must conform the spec of the parser.
- parseDecimal(JsonReader<?>) - Static method in class com.dslplatform.json.MyNumberConverter
- parseInt(JsonReader<?>) - Static method in class com.dslplatform.json.MyNumberConverter
- parseLong(JsonReader<?>) - Static method in class com.dslplatform.json.MyNumberConverter
- parser() - Method in class jsonvalues.spec.JsArrayOfJsObjSpec
- parser() - Method in class jsonvalues.spec.JsObjSpec
- parser() - Method in interface jsonvalues.spec.JsSpec
- parser() - Method in class jsonvalues.spec.JsTupleSpec
- parseToJsObj(byte[], JsSpecParser) - Method in class com.dslplatform.json.MyDslJson
- parseToJsObj(InputStream, JsSpecParser) - Method in class com.dslplatform.json.MyDslJson
- path - Variable in class jsonvalues.JsPair
-
the location of the value.
- path - Variable in class jsonvalues.spec.JsErrorPair
- path(String) - Static method in class jsonvalues.JsPath
- path(String, String...) - Static method in class jsonvalues.JsPath
-
returns a JsPath from a set of keys
- pathHeadIsNotAKey(JsPath) - Static method in exception jsonvalues.UserError
- pathHeadIsNotAnIndex(JsPath) - Static method in exception jsonvalues.UserError
- pathLens - Static variable in class jsonvalues.JsPair
-
lens that focuses on the path of a pair
- Position - Interface in jsonvalues
-
Represents the location of a first-level element in a json, either a Key in a JsObj or an Index in a JsArray.
- prepend(JsPath) - Method in class jsonvalues.JsPath
-
Creates a new JsPath prepending the given path to this path.
- prepend(JsValue, JsValue...) - Method in class jsonvalues.JsArray
-
Adds one or more elements, starting from the last, to the front of this array.
- prependAll(JsArray) - Method in class jsonvalues.JsArray
-
Adds all the elements of the array, starting from the last, to the front of this array.
- prism - Static variable in class jsonvalues.Index
-
prism between the sum type Position and Index
- prism - Static variable in class jsonvalues.JsArray
-
prism between the sum type JsValue and JsArray
- prism - Static variable in class jsonvalues.JsBigDec
-
prism between the sum type JsValue and JsBigDec
- prism - Static variable in class jsonvalues.JsBigInt
- prism - Static variable in class jsonvalues.JsBinary
-
prism between the sum type JsValue and JsBinary
- prism - Static variable in class jsonvalues.JsBool
-
prism between the sum type JsValue and JsBool
- prism - Static variable in class jsonvalues.JsDouble
-
prism between the sum type JsValue and JsDouble
- prism - Static variable in class jsonvalues.JsInstant
-
prism between the sum type JsValue and JsInstant
- prism - Static variable in class jsonvalues.JsInt
-
prism between the sum type JsValue and JsInt
- prism - Static variable in class jsonvalues.JsLong
-
prism between the sum type JsValue and JsLong
- prism - Static variable in class jsonvalues.JsObj
-
prism between the sum type JsValue and JsObj
- prism - Static variable in class jsonvalues.JsStr
-
prism between the sum type JsValue and JsStr
- prism - Static variable in class jsonvalues.Key
-
prism between the sum type Position and Key
- Prism<S,T> - Class in jsonvalues
-
A Prism is an optic that can be seen as a pair of functions:
- getOptional: S -> Optional<T> - reverseGet : T -> S
Typically a Prism encodes the relation between a Sum or CoProduct type and one of its element. - Prism(Function<S, Optional<T>>, Function<T, S>) - Constructor for class jsonvalues.Prism
- Program<O extends Json<?>> - Interface in jsonvalues.console
-
Represents a side effect that interact with the user through the standard console to compose a Json
- promptMessage() - Method in class jsonvalues.console.JsArrayConsole
- promptMessage() - Method in interface jsonvalues.console.JsConsole
- promptMessage() - Method in class jsonvalues.console.JsObjConsole
R
- read(JsSpec) - Static method in class jsonvalues.console.JsIOs
- reduce(BinaryOperator<R>, Function<? super JsPair, R>, Predicate<? super JsPair>) - Method in class jsonvalues.JsArray
- reduce(BinaryOperator<R>, Function<? super JsPair, R>, Predicate<? super JsPair>) - Method in class jsonvalues.JsObj
- reduce(BinaryOperator<R>, Function<? super JsPair, R>, Predicate<? super JsPair>) - Method in interface jsonvalues.Json
-
Performs a reduction on the values that satisfy the predicate in the first level of this json.
- reduceAll(BinaryOperator<R>, Function<? super JsPair, R>, Predicate<? super JsPair>) - Method in class jsonvalues.JsArray
- reduceAll(BinaryOperator<R>, Function<? super JsPair, R>, Predicate<? super JsPair>) - Method in class jsonvalues.JsObj
- reduceAll(BinaryOperator<R>, Function<? super JsPair, R>, Predicate<? super JsPair>) - Method in interface jsonvalues.Json
-
Performs a reduction on the values of this json that satisfy the predicate.
- REQUIRED - jsonvalues.spec.ERROR_CODE
- retry(Supplier<CompletableFuture<R>>, int) - Static method in class jsonvalues.future.JsFutures
-
it creates a new future that retries a number of times the given one when an exception is produced
- reverseGet - Variable in class jsonvalues.Prism
-
get the modified source of a Prism
S
- sample() - Method in interface jsonvalues.gen.JsGen
-
Return a supplier of realized values from this generator
- sample(Random) - Method in interface jsonvalues.gen.JsGen
-
Return a supplier of realized values from this generator and the given seed
- serialize() - Method in interface jsonvalues.Json
-
Serialize this Json into an array of bytes.
- serialize(OutputStream) - Method in interface jsonvalues.Json
-
Serializes this Json into the given output stream, no returning anything
- serialize(Json<?>) - Method in class com.dslplatform.json.MyDslJson
- serialize(Json<?>, OutputStream) - Method in class com.dslplatform.json.MyDslJson
- SerializerException - Exception in com.dslplatform.json.serializers
- SerializerException(Throwable) - Constructor for exception com.dslplatform.json.serializers.SerializerException
- set - Variable in class jsonvalues.Lens
-
function to modify the whole by setting the subpart
- set - Variable in class jsonvalues.Option
-
function to look into S, set a value for an optional focus T, and obtain the modified source
- set(String, Supplier<? extends JsValue>) - Method in class jsonvalues.supplier.JsObjSupplier
-
returns a new object supplier inserting the given supplier at the given key
- set(String, JsFuture<?>) - Method in class jsonvalues.future.JsObjFuture
-
returns a new object future inserting the given future at the given key
- set(String, JsGen<?>) - Method in class jsonvalues.gen.JsObjGen
- set(String, JsValue) - Method in class jsonvalues.JsObj
-
Inserts the element at the key in this json, replacing any existing element.
- set(String, JsSpec) - Method in class jsonvalues.spec.JsObjSpec
-
add the given key spec to this
- set(JsPath, JsValue) - Method in class jsonvalues.JsArray
- set(JsPath, JsValue) - Method in class jsonvalues.JsObj
- set(JsPath, JsValue) - Method in interface jsonvalues.Json
-
Inserts the element at the path in this json, replacing any existing element and filling with
JsNull
empty indexes in arrays when necessary. - set(JsPath, JsValue, JsValue) - Method in class jsonvalues.JsArray
- set(JsPath, JsValue, JsValue) - Method in class jsonvalues.JsObj
- set(JsPath, JsValue, JsValue) - Method in interface jsonvalues.Json
-
Inserts the element at the path in this json, replacing any existing element and filling with padElement empty indexes in arrays when necessary.
- SET - jsonvalues.JsArray.TYPE
-
The order of data items does not matter (or is undefined) but duplicate data items are not permitted.
- setArraySerializer(JsonWriter.WriteObject<JsArray>) - Method in class com.dslplatform.json.serializers.JsValueSerializer
- setObjectSerializer(JsonWriter.WriteObject<JsObj>) - Method in class com.dslplatform.json.serializers.JsValueSerializer
- single(JsValue) - Static method in class jsonvalues.gen.JsGens
-
lift a constant value up into a generator
- size() - Method in class jsonvalues.JsArray
- size() - Method in class jsonvalues.JsObj
- size() - Method in interface jsonvalues.Json
-
Returns the number of elements in the first level of this json
- size() - Method in class jsonvalues.JsPath
- sizeAll() - Method in interface jsonvalues.Json
-
Returns the number of all the elements in this json
- SPEC_MISSING - jsonvalues.spec.ERROR_CODE
- startsWith(JsPath) - Method in class jsonvalues.JsPath
-
returns true if this path starts with the given path.
- str - Static variable in class jsonvalues.gen.JsGens
-
Generates a string where the length is between [0-10]
- str - Static variable in class jsonvalues.spec.JsSpecs
-
non-nullable string
- str(int) - Static method in class jsonvalues.gen.JsGens
-
Generates an alphabetic string of the given length
- str(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the string located at an index in an array
- str(int) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the string located at an index in an array
- str(String) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a string located at a key in an object.
- str(String) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the string located at a key in an object
- str(Predicate<String>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable string that satisfies the given predicate
- str(JsPath) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the string located at a path in an array
- str(JsPath) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the string located at a path in an array
- str(JsPath) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a string located at a path in an object.
- str(JsPath) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the string located at a path in an object
- stream() - Method in class jsonvalues.JsArray
- stream() - Method in class jsonvalues.JsObj
- stream() - Method in interface jsonvalues.Json
-
Returns a stream over the pairs of elements in the first level of this json object.
- stream() - Method in class jsonvalues.JsPath
-
Returns a sequential
Stream
of Positions with this path as its source. - streamAll() - Method in class jsonvalues.JsArray
- streamAll() - Method in class jsonvalues.JsObj
- streamAll() - Method in interface jsonvalues.Json
-
Returns a stream over all the pairs of elements in this json object.
- strict(String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a strict JsObjSpec of one mappings.
- strict(String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a strict JsObjSpec of two mappings.
- strict(String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a strict JsObjSpec of three mappings.
- strict(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a strict JsObjSpec of four mappings.
- strict(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a strict JsObjSpec of five mappings.
- strict(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a strict JsObjSpec of six mappings.
- strict(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a strict JsObjSpec of seven mappings.
- strict(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a strict JsObjSpec of eight mappings.
- strict(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a strict JsObjSpec of nine mappings.
- strict(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
- strict(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a strict JsObjSpec of eleven mappings.
- strict(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a strict JsObjSpec of twelve mappings.
- strict(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a strict JsObjSpec of thirteen mappings.
- strict(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a strict JsObjSpec of fourteen mappings.
- strict(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a strict JsObjSpec of fifteen mappings.
- strict(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a strict JsObjSpec of sixteen mappings.
- strict(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a strict JsObjSpec of seventeen mappings.
- strict(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a strict JsObjSpec of eighteen mappings.
- strict(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a strict JsObjSpec of nineteen mappings.
- strict(String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec, String, JsSpec) - Static method in class jsonvalues.spec.JsObjSpec
-
static factory method to create a strict JsObjSpec of twenty mappings.
- STRING_CONDITION - jsonvalues.spec.ERROR_CODE
- STRING_EXPECTED - jsonvalues.spec.ERROR_CODE
- suchThat(Predicate<R>) - Method in interface jsonvalues.gen.JsGen
-
Creates a generator that generates values from this generator that satisfy the given predicate.
- suchThat(Predicate<R>, int) - Method in interface jsonvalues.gen.JsGen
-
Creates a generator that generates values from this generator that satisfy the given predicate.
T
- tail() - Method in class jsonvalues.JsArray
-
Returns a json array consisting of all elements of this array except the first one.
- tail() - Method in class jsonvalues.JsObj
-
Returns a new object with all the entries of this json object except the one with the given key.
- tail() - Method in class jsonvalues.JsPath
- test(DoublePredicate) - Method in class jsonvalues.JsDouble
-
Tests the value of this json double on a predicate.
- test(IntPredicate) - Method in class jsonvalues.JsInt
-
/** Tests the value of this json integer on a predicate.
- test(LongPredicate) - Method in class jsonvalues.JsLong
-
Tests the value of this json long on a predicate.
- test(Predicate<String>) - Method in class jsonvalues.JsStr
-
Tests this JsStr on a predicate.
- test(Predicate<BigDecimal>) - Method in class jsonvalues.JsBigDec
-
Tests the value of this json bigdec on a predicate
- test(Predicate<BigInteger>) - Method in class jsonvalues.JsBigInt
-
Tests the value of this json bigint on a predicate.
- test(JsGen<O>, Predicate<O>, int, Consumer<O>) - Static method in class jsonvalues.gen.TestProperty
- test(JsGen<O>, Predicate<O>, int, Consumer<O>, Random) - Static method in class jsonvalues.gen.TestProperty
- test(JsGen<O>, Predicate<O>, Consumer<O>) - Static method in class jsonvalues.gen.TestProperty
- test(JsGen<O>, Predicate<O>, Consumer<O>, Random) - Static method in class jsonvalues.gen.TestProperty
- test(JsArray) - Method in interface jsonvalues.spec.JsArraySpec
- test(JsArray) - Method in class jsonvalues.spec.JsTupleSpec
- test(JsObj) - Method in class jsonvalues.spec.JsObjSpec
- test(JsPath, JsValue) - Method in class jsonvalues.spec.JsArrayOfJsObjSpec
- test(JsPath, JsValue) - Method in class jsonvalues.spec.JsObjSpec
- test(JsPath, JsValue) - Method in interface jsonvalues.spec.JsSpec
-
verify if the given value satisfy this spec.
- test(JsPath, JsValue) - Method in class jsonvalues.spec.JsTupleSpec
- TestProperty - Class in jsonvalues.gen
-
provides different methods to test properties described as predicates.
- TestProperty() - Constructor for class jsonvalues.gen.TestProperty
- times(JsValue) - Method in interface jsonvalues.Json
- timesAll(JsValue) - Method in interface jsonvalues.Json
- toJsArray() - Method in interface jsonvalues.JsValue
- toJsBigDec() - Method in interface jsonvalues.JsValue
- toJsBigInt() - Method in interface jsonvalues.JsValue
- toJsBinary() - Method in interface jsonvalues.JsValue
- toJsBool() - Method in interface jsonvalues.JsValue
- toJsDouble() - Method in interface jsonvalues.JsValue
- toJsInstant() - Method in interface jsonvalues.JsValue
- toJsInt() - Method in interface jsonvalues.JsValue
- toJsLong() - Method in interface jsonvalues.JsValue
- toJsNumber() - Method in interface jsonvalues.JsValue
- toJsObj() - Method in interface jsonvalues.JsValue
- toJson() - Method in interface jsonvalues.JsValue
- toJsStr() - Method in interface jsonvalues.JsValue
- toPrettyString() - Method in interface jsonvalues.Json
-
Converts the string representation of this Json to a pretty print version
- toPrettyString(Json<?>) - Method in class com.dslplatform.json.MyDslJson
- toString() - Method in class jsonvalues.Index
-
Returns the value of the index as a string.
- toString() - Method in class jsonvalues.JsArray
-
// Single-check idiom Item 83 from effective java
- toString() - Method in class jsonvalues.JsBigDec
- toString() - Method in class jsonvalues.JsBigInt
- toString() - Method in class jsonvalues.JsBinary
- toString() - Method in class jsonvalues.JsBool
- toString() - Method in class jsonvalues.JsDouble
- toString() - Method in class jsonvalues.JsInstant
- toString() - Method in class jsonvalues.JsInt
- toString() - Method in class jsonvalues.JsLong
- toString() - Method in class jsonvalues.JsNothing
- toString() - Method in class jsonvalues.JsNull
- toString() - Method in class jsonvalues.JsObj
-
// Single-check idiom Item 83 from effective java
- toString() - Method in class jsonvalues.JsPair
- toString() - Method in class jsonvalues.JsPath
-
Returns a string representation of this path following the format defined in the RFC 6901 with the exception that keys which names are numbers are single-quoted.
- toString() - Method in class jsonvalues.JsStr
-
Returns the string representation of this json string which is its value quoted.
- toString() - Method in class jsonvalues.Key
-
Returns the name of the key.
- toString() - Method in class jsonvalues.spec.Error
- toString() - Method in class jsonvalues.spec.JsErrorPair
- Trampoline<T> - Interface in jsonvalues
-
Trampolines allow to define recursive algorithms by iterative loops without blowing the stack when methods implementations are tail recursive.
- TRUE - Static variable in class jsonvalues.JsBool
-
The singleton true value.
- TRUE - Static variable in class jsonvalues.spec.JsSpecs
-
true constant spec
- TRUE_EXPECTED - jsonvalues.spec.ERROR_CODE
- tuple(Supplier<? extends JsValue>, Supplier<? extends JsValue>...) - Static method in class jsonvalues.supplier.JsArraySupplier
-
returns a JsArraySupplier from the given head and the tail
- tuple(JsConsole<?>, JsConsole<?>...) - Static method in class jsonvalues.console.JsArrayConsole
-
static factory method to create a JsArrayIO
- tuple(JsFuture<?>, JsFuture<?>...) - Static method in class jsonvalues.future.JsArrayFuture
-
returns a JsArrayFuture from the given head and the tail
- tuple(JsGen<?>, JsGen<?>...) - Static method in class jsonvalues.gen.JsGens
-
Creates a tuple generator from the given generators.
- tuple(JsSpec, JsSpec...) - Static method in class jsonvalues.spec.JsSpecs
-
returns a tuple spec.
U
- union(JsArray, JsArray.TYPE) - Method in class jsonvalues.JsArray
-
this.union(that, SET)
returnsthis
plus those elements fromthat
that don't exist inthis
. - union(JsObj) - Method in class jsonvalues.JsObj
-
returns
this
json object plus those pairs from the given json objectthat
which keys don't exist inthis
. - unionAll(JsArray) - Method in class jsonvalues.JsArray
-
returns
this
plus those elements fromthat
which position is>= this.size()
, and, at the positions where a container of the same type exists in boththis
andthat
, the result is their union. - unionAll(JsObj, JsArray.TYPE) - Method in class jsonvalues.JsObj
-
behaves like the
JsObj.union(JsObj)
but, for those keys that exit in boththis
andthat
json objects, which associated elements are **containers of the same type**, the result is their union. - UserError - Exception in jsonvalues
-
Exception that models a programming error made by the user.
V
- value - Variable in class jsonvalues.JsBigDec
-
The big decimal value
- value - Variable in class jsonvalues.JsBigInt
-
the big integer value.
- value - Variable in class jsonvalues.JsBinary
- value - Variable in class jsonvalues.JsBool
-
the boolean value.
- value - Variable in class jsonvalues.JsDouble
-
The double value.
- value - Variable in class jsonvalues.JsInstant
- value - Variable in class jsonvalues.JsInt
-
The integer value.
- value - Variable in class jsonvalues.JsLong
-
The long primitive.
- value - Variable in class jsonvalues.JsPair
-
the json value.
- value - Variable in class jsonvalues.JsStr
-
The string value.
- value - Variable in class jsonvalues.spec.Error
- value(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the value located at an index in an array
- value(String) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a value located at a key in an object.
- value(JsPath) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the value located at a path in an array
- value(JsPath) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a value located at a path in an object.
- VALUE_CONDITION - jsonvalues.spec.ERROR_CODE
- valueLens - Static variable in class jsonvalues.JsPair
-
lens that focuses on the value of a pair
- valueOf(String) - Static method in enum jsonvalues.JsArray.TYPE
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jsonvalues.spec.ERROR_CODE
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum jsonvalues.JsArray.TYPE
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum jsonvalues.spec.ERROR_CODE
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- write(JsonWriter, JsArray) - Method in class com.dslplatform.json.serializers.JsArraySerializer
- write(JsonWriter, JsObj) - Method in class com.dslplatform.json.serializers.JsObjSerializer
All Classes All Packages