- alphabetic() - Static method in class jsonvalues.gen.JsStrGen
-
Generator tha produces an alphabetic character
- alphabetic(int, int) - Static method in class jsonvalues.gen.JsStrGen
-
Generates a string made up of alphabetic characters
- alphabetic(int) - Static method in class jsonvalues.gen.JsStrGen
-
Generates a string made up of alphabetic characters
- alphanumeric() - Static method in class jsonvalues.gen.JsStrGen
-
Generator tha produces an alphanumeric character
- alphanumeric(int, int) - Static method in class jsonvalues.gen.JsStrGen
-
Generates a string made up of alphanumeric characters
- alphanumeric(int) - Static method in class jsonvalues.gen.JsStrGen
-
Generates a string made up of alphanumeric characters
- any() - Static method 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(JsValue, JsValue...) - Method in class jsonvalues.JsArray
-
Adds one or more elements, starting from the first, to the back of this array.
- append(JsPath) - Method in class jsonvalues.JsPath
-
Creates a new JsPath appending the given path to this path.
- 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.JsArrayGen
-
Returns a supplier from the specified seed that generates a new JsArray each time it's called
- apply(Random) - Method in class jsonvalues.gen.JsBigDecGen
-
Returns a supplier from the specified seed that generates a new JsBigDec each time it's called
- apply(Random) - Method in class jsonvalues.gen.JsBigIntGen
-
Returns a supplier from the specified seed that generates a new JsBigInt each time it's called
- apply(Random) - Method in class jsonvalues.gen.JsBinaryGen
-
Returns a supplier from the specified seed that generates a new JsBinary each time it's called
- apply(Random) - Method in class jsonvalues.gen.JsBoolGen
-
Returns a supplier from the specified seed that generates a new JsBool each time it's called
- apply(Random) - Method in class jsonvalues.gen.JsDoubleGen
-
Returns a supplier from the specified seed that generates a new JsDouble each time it's called
- apply(Random) - Method in class jsonvalues.gen.JsInstantGen
-
Returns a supplier from the specified seed that generates a new JsInstant each time it's called
- apply(Random) - Method in class jsonvalues.gen.JsIntGen
-
Returns a supplier from the specified seed that generates a new JsInt each time it's called
- apply(Random) - Method in class jsonvalues.gen.JsLongGen
-
Returns a supplier from the specified seed that generates a new JsLong each time it's called
- apply(Random) - Method in class jsonvalues.gen.JsObjGen
-
Returns a supplier from the specified seed that generates a new JsObj each time it's called
- apply(Random) - Method in class jsonvalues.gen.JsStrGen
-
Returns a supplier from the specified seed that generates a new JsStr each time it's called
- apply(Random) - Method in class jsonvalues.gen.JsTupleGen
-
Returns a supplier from the specified seed that generates a new tuple, modeled with a JsArray,
each time it's called
- arbitrary(Gen<? extends JsValue>, int) - Static method in class jsonvalues.gen.JsArrayGen
-
- arbitrary(Gen<? extends JsValue>, int, int) - Static method in class jsonvalues.gen.JsArrayGen
-
- arbitrary() - Static method in class jsonvalues.gen.JsBigDecGen
-
Returns a generator that produces values uniformly distributed
- arbitrary(BigDecimal, BigDecimal) - Static method in class jsonvalues.gen.JsBigDecGen
-
Returns a generator that produces values uniformly distributed over a specified interval
- arbitrary(int) - Static method in class jsonvalues.gen.JsBigIntGen
-
- arbitrary(int, int) - Static method in class jsonvalues.gen.JsBinaryGen
-
- arbitrary() - Static method in class jsonvalues.gen.JsBoolGen
-
Returns a generator produces uniformed distributions of JsBool
- arbitrary() - Static method in class jsonvalues.gen.JsDoubleGen
-
Returns a generator that produces values uniformly distributed
- arbitrary(double, double) - Static method in class jsonvalues.gen.JsDoubleGen
-
Returns a generator that produces values uniformly distributed over a specified interval
- arbitrary() - Static method in class jsonvalues.gen.JsInstantGen
-
- arbitrary(long, long) - Static method in class jsonvalues.gen.JsInstantGen
-
- arbitrary(ZonedDateTime, ZonedDateTime) - Static method in class jsonvalues.gen.JsInstantGen
-
- arbitrary() - Static method in class jsonvalues.gen.JsIntGen
-
Returns a generator that produces values uniformly distributed
- arbitrary(int, int) - Static method in class jsonvalues.gen.JsIntGen
-
Returns a generator that produces values uniformly distributed over a specified interval
- arbitrary() - Static method in class jsonvalues.gen.JsLongGen
-
Returns a generator that produces values uniformly distributed
- arbitrary(long, long) - Static method in class jsonvalues.gen.JsLongGen
-
Returns a generator that produces values uniformly distributed over a specified interval
- arbitrary(int, int) - Static method in class jsonvalues.gen.JsStrGen
-
returns a generator that produces arbitrary strings
- arbitrary(int) - Static method in class jsonvalues.gen.JsStrGen
-
returns a generator that produces arbitrary strings
- array - Static variable in class jsonvalues.JsOptics
-
- array(JsPath) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the json array located at a path in an array
- array(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the json array located at an index 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(int) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the json array located at an index 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(String) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a json array located at a key 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(String) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the array located at a key in an object
- array() - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array spec
- array(Predicate<JsValue>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array, where each element of the array satisfies the given predicate
- arrayOfBigInt() - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of integral numbers spec
- arrayOfBigInt(int, int) - Static method in class jsonvalues.spec.JsSpecs
-
- arrayOfBigInt(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
- arrayOfBigInt(Predicate<BigInteger>, int, int) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of integral numbers, where each element of the array satisfies
the given predicate
- arrayOfBigIntSuchThat(Predicate<JsArray>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of integral numbers that satisfies the given predicate
- arrayOfBool() - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of booleans spec
- arrayOfBool(int, int) - Static method in class jsonvalues.spec.JsSpecs
-
- arrayOfBoolSuchThat(Predicate<JsArray>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of booleans that satisfies the given predicate
- arrayOfDec() - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of decimal numbers spec
- arrayOfDec(int, int) - Static method in class jsonvalues.spec.JsSpecs
-
- 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
- arrayOfDec(Predicate<BigDecimal>, int, int) - 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 method in class jsonvalues.spec.JsSpecs
-
non-nullable array of integer numbers spec
- arrayOfInt(int, int) - Static method in class jsonvalues.spec.JsSpecs
-
- 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
- arrayOfInt(IntPredicate, int, int) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of integer numbers, where each element of the array 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 method in class jsonvalues.spec.JsSpecs
-
non-nullable array of long numbers spec
- arrayOfLong(int, int) - Static method in class jsonvalues.spec.JsSpecs
-
- 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
- arrayOfLong(LongPredicate, int, int) - 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 method in class jsonvalues.spec.JsSpecs
-
non-nullable array of numbers spec
- arrayOfNumber(int, int) - Static method in class jsonvalues.spec.JsSpecs
-
- 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
- arrayOfNumber(Predicate<JsNumber>, int, int) - 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 method in class jsonvalues.spec.JsSpecs
-
non-nullable array of objects spec
- arrayOfObj(int, int) - Static method in class jsonvalues.spec.JsSpecs
-
- 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
- arrayOfObj(Predicate<JsObj>, int, int) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of objects, where each element of the array satisfies
the given predicate
- arrayOfObjSpec(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
- arrayOfObjSpec(JsObjSpec, int, int) - Static method in class jsonvalues.spec.JsSpecs
-
A required and none nullable spec that specifies an array of objects that conform the given spec
- arrayOfObjSuchThat(Predicate<JsArray>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of objects that satisfies the given predicate
- arrayOfStr() - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array of strings spec
- arrayOfStr(int, int) - Static method in class jsonvalues.spec.JsSpecs
-
- 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
- arrayOfStr(Predicate<String>, int, int) - 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.
- base64Prism - Static variable in class jsonvalues.JsStr
-
- biased(Gen<? extends JsValue>, int, int) - Static method in class jsonvalues.gen.JsArrayGen
-
- biased() - Static method in class jsonvalues.gen.JsBigDecGen
-
returns a biased generators that produces, with higher probability, potential problematic values
that usually cause more bugs.
- biased(BigDecimal, BigDecimal) - Static method in class jsonvalues.gen.JsBigDecGen
-
returns a biased generators that produces, with higher probability, potential problematic values
that usually cause more bugs.
- biased(long, long) - Static method in class jsonvalues.gen.JsBigDecGen
-
returns a biased generators that produces, with higher probability, potential problematic values
that usually cause more bugs.
- biased(int) - Static method in class jsonvalues.gen.JsBigIntGen
-
- biased(int, int) - Static method in class jsonvalues.gen.JsBinaryGen
-
- biased() - Static method in class jsonvalues.gen.JsDoubleGen
-
returns a biased generators that produces, with higher probability, potential problematic values
that usually cause more bugs.
- biased(double, double) - Static method in class jsonvalues.gen.JsDoubleGen
-
returns a biased generators that produces, with higher probability, potential problematic values
that usually cause more bugs.
- biased() - Static method in class jsonvalues.gen.JsInstantGen
-
- biased(long, long) - Static method in class jsonvalues.gen.JsInstantGen
-
- biased() - Static method in class jsonvalues.gen.JsIntGen
-
returns a biased generators that produces, with higher probability, potential problematic values
that usually cause more bugs.
- biased(int, int) - Static method in class jsonvalues.gen.JsIntGen
-
returns a biased generators that produces, with higher probability, potential problematic values
that usually cause more bugs.
- biased() - Static method in class jsonvalues.gen.JsLongGen
-
returns a biased generator that produces, with higher probability, potential problematic values
that usually cause more bugs.
- biased(long, long) - Static method in class jsonvalues.gen.JsLongGen
-
returns a biased generators that produces, with higher probability, potential problematic values
that usually cause more bugs.
- biased(int, int) - Static method in class jsonvalues.gen.JsStrGen
-
returns a biased generators that produces, with higher probability, potential problematic values
that usually cause more bugs.
- biased(int) - Static method in class jsonvalues.gen.JsStrGen
-
returns a biased generators that produces, with higher probability, potential problematic values
that usually cause more bugs.
- bigInteger() - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable integral number
- bigInteger(Predicate<BigInteger>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable integral number 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(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on an array of bytes located at an index 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(String) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on an array of bytes located at a key 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(String) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the array of bytes located at a key in an object
- binary() - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array spec
- binary(Predicate<byte[]>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable json object that satisfies the given predicate
- bool(JsPath) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the boolean located at a path in an array
- bool(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the boolean located at an index 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(int) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the boolean located at an index 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(String) - 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
- bool(String) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the boolean located at a key in an object
- bool() - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable boolean
- 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 method 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
- decimalNum(JsPath) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the decimal number located at a path in an array
- decimalNum(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the decimal number located at an index 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(int) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the decimal number located at an index 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(String) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a decimal number located at a key 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
- decimalNum(String) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the decimal number located at a key in an object
- delete(JsPath) - Method in class jsonvalues.JsArray
-
- delete(int) - Method in class jsonvalues.JsArray
-
- delete(String) - Method in class jsonvalues.JsObj
-
- 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 method in class jsonvalues.gen.JsStrGen
-
Generator tha produces a digit from 0 to 9
- digits(int, int) - Static method in class jsonvalues.gen.JsStrGen
-
Generates a string made up of digits
- digits(int) - Static method in class jsonvalues.gen.JsStrGen
-
Generates a string made up of digits
- doubleNum(JsPath) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the double number located at a path in an array
- doubleNum(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the double number located at an index 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(int) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the double number located at an index 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(String) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a double number located at a key 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
- doubleNum(String) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the double number located at a key in an object
- get(JsPath) - Method in class jsonvalues.JsArray
-
- get(int) - Method in class jsonvalues.JsArray
-
returns the element located at the specified index or JsNothing if it doesn't exist.
- get(JsPath) - Method in class jsonvalues.JsObj
-
- get(String) - 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(int) - Method in class jsonvalues.JsArray
-
Returns the array located at the given index or null if it doesn't exist or it's not a json array.
- getArray(int, Supplier<JsArray>) - Method in class jsonvalues.JsArray
-
Returns the array located at the given index or the default value provided if it doesn't exist
or it's not a json array.
- 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(String, Supplier<JsArray>) - Method in class jsonvalues.JsObj
-
Returns the array located at the given key or the default value provided 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.
- getArray(JsPath, Supplier<JsArray>) - Method in interface jsonvalues.Json
-
Returns the array located at the given path or the default value provided if it doesn't exist or it's not an array.
- getBigDec(int) - Method in class jsonvalues.JsArray
-
Returns the number located at the given index as a big decimal or null if
it doesn't exist or it's not a decimal number.
- getBigDec(int, Supplier<BigDecimal>) - Method in class jsonvalues.JsArray
-
Returns the number located at the given index as a big decimal or the default value provided if
it doesn't exist or it's not a decimal number.
- 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(String, Supplier<BigDecimal>) - Method in class jsonvalues.JsObj
-
Returns the number located at the given key as a big decimal or the default value provided
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.
- getBigDec(JsPath, Supplier<BigDecimal>) - Method in interface jsonvalues.Json
-
Returns the number located at the given path as a big decimal or the default value if
it doesn't exist or it's not a decimal number.
- getBigInt(int) - Method in class jsonvalues.JsArray
-
Returns the number located at the given index as a big integer or null if
it doesn't exist or it's not an integral number.
- getBigInt(int, Supplier<BigInteger>) - Method in class jsonvalues.JsArray
-
Returns the number located at the given index as a big integer or the default value provided
if it doesn't exist or it's not an integral 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(String, Supplier<BigInteger>) - Method in class jsonvalues.JsObj
-
Returns the big integer located at the given key as a big integer or the default value provided
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.
- getBigInt(JsPath, Supplier<BigInteger>) - Method in interface jsonvalues.Json
-
Returns the number located at the given path as a big integer or the default value if it doesn't
exist or it's not an integral number.
- getBinary(int) - Method in class jsonvalues.JsArray
-
Returns the array of bytes located at the given index or null if it doesn't exist or it's not an array of bytes.
- getBinary(int, Supplier<byte[]>) - Method in class jsonvalues.JsArray
-
Returns the array of bytes located at the given index or the default value provided if it doesn't exist or it's not an array of bytes.
- 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(String, Supplier<byte[]>) - Method in class jsonvalues.JsObj
-
Returns the bytes located at the given key or the default value provided 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.
- getBinary(JsPath, Supplier<byte[]>) - Method in interface jsonvalues.Json
-
Returns the bytes located at the given path or the default value provided if it doesn't exist.
- getBool(int) - Method in class jsonvalues.JsArray
-
Returns the boolean located at the given index or null if it doesn't exist.
- getBool(int, Supplier<Boolean>) - Method in class jsonvalues.JsArray
-
Returns the boolean located at the given index or the default value provided 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(String, Supplier<Boolean>) - Method in class jsonvalues.JsObj
-
Returns the boolean located at the given key or the default value provided 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.
- getBool(JsPath, Supplier<Boolean>) - Method in interface jsonvalues.Json
-
Returns the boolean located at the given path or the default value provided if it doesn't exist.
- getDouble(int) - Method in class jsonvalues.JsArray
-
Returns the number located at the given index as a double or null if it
doesn't exist or it's not a decimal number.
- getDouble(int, Supplier<Double>) - Method in class jsonvalues.JsArray
-
Returns the number located at the given index as a double or the default value provided if it
doesn't exist or it's not a decimal number.
- 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(String, Supplier<Double>) - Method in class jsonvalues.JsObj
-
Returns the number located at the given key as a double or the default value provided 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.
- getDouble(JsPath, Supplier<Double>) - Method in interface jsonvalues.Json
-
Returns the decimal number located at the given path as a double or the default value provided if it
doesn't exist or it's not a decimal number.
- getInstant(int) - Method in class jsonvalues.JsArray
-
Returns the instant located at the given index or null if it doesn't exist or it's not an instant.
- getInstant(int, Supplier<Instant>) - Method in class jsonvalues.JsArray
-
Returns the instant located at the given index or the default value provided if it doesn't exist
or it's not an instant.
- 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(String, Supplier<Instant>) - Method in class jsonvalues.JsObj
-
Returns the instant located at the given key or the default value provided 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.
- getInstant(JsPath, Supplier<Instant>) - Method in interface jsonvalues.Json
-
Returns the instant located at the given path or the default value provided if it doesn't exist.
- getInt(int) - Method in class jsonvalues.JsArray
-
Returns the integral number located at the given index 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(int, Supplier<Integer>) - Method in class jsonvalues.JsArray
-
Returns the integral number located at the given index as an integer or the default value provided 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(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(String, Supplier<Integer>) - Method in class jsonvalues.JsObj
-
Returns the integral number located at the given key as an integer or the default value provided 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.
- getInt(JsPath, Supplier<Integer>) - Method in interface jsonvalues.Json
-
Returns the integral number located at the given path as an integer or the default value provided 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(int) - Method in class jsonvalues.JsArray
-
Returns the long number located at the given index as an 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 an long.
- getLong(int, Supplier<Long>) - Method in class jsonvalues.JsArray
-
Returns the long number located at the given index as an long or the default value provided if it
doesn't exist or it's not an integral number or it's an integral number but doesn't fit in an long.
- 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(String, Supplier<Long>) - Method in class jsonvalues.JsObj
-
Returns the integral number located at the given key as a long or the default value provided
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.
- getLong(JsPath, Supplier<Long>) - Method in interface jsonvalues.Json
-
Returns the integral number located at the given path as a long or the default value provided
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(int) - Method in class jsonvalues.JsArray
-
Returns the object located at the given index or null if it doesn't exist or it's not a json object.
- getObj(int, Supplier<JsObj>) - Method in class jsonvalues.JsArray
-
Returns the object located at the given index or the default value provided if it doesn't exist or
it's not a json object.
- 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(String, Supplier<JsObj>) - Method in class jsonvalues.JsObj
-
Returns the json object located at the given key or the default value provided
if it doesn't exist or it's not an object.
- getObj(JsPath, Supplier<JsObj>) - Method in interface jsonvalues.Json
-
Returns the object located at the given path or the default value provided 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.
- getRequiredFields() - Method in class jsonvalues.spec.JsObjSpec
-
- getStr(int) - Method in class jsonvalues.JsArray
-
Returns the string located at the given index or null if it doesn't exist.
- getStr(int, Supplier<String>) - Method in class jsonvalues.JsArray
-
Returns the string located at the given index or the default value provided
if it doesn't exist.
- 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(String, Supplier<String>) - Method in class jsonvalues.JsObj
-
Returns the string located at the given key or the default value provided 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.
- getStr(JsPath, Supplier<String>) - Method in interface jsonvalues.Json
-
Returns the string located at the given path or the default value provided if
it doesn't exist or it's not an string.
- 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
-
- 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 - Class in jsonvalues
-
represents the index of a value in a json array.
- index(int) - Method in class jsonvalues.JsPath
-
Returns a new path appending an index with the given value to the back of this path.
- 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.JsSpecParsers
-
- INSTANCE - Static variable in class com.dslplatform.json.MyDslJson
-
- instant(JsPath) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the array of bytes located at a path in an array
- instant(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the array of bytes at an index 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(int) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the instant located at an index 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(String) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on an instant located at a key 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(String) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the instant located at a key in an object
- instant() - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable array spec
- instant(Predicate<Instant>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable json object that satisfies the given predicate
- instantPrism - Static variable in class jsonvalues.JsStr
-
- integer() - Static method 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
- integralNum(JsPath) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the integral number located at a path in an array
- integralNum(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the integral number located at an index 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(int) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the integral number located at an index 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(String) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a integral number located at a key 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
- integralNum(String) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the bigint number located at a path in an object
- intersection(JsArray, JsArray.TYPE) - Method in class jsonvalues.JsArray
-
this.union(that, SET)
returns this
plus those elements from that
that
don't exist in this
.
- intersection(JsObj, JsArray.TYPE) - Method in class jsonvalues.JsObj
-
this.intersection(that, SET)
returns an array with the elements that exist in both this
and that
this.intersection(that, MULTISET)
returns an array with the elements that exist in both this
and that
,
being duplicates allowed.
- intersection(T, JsArray.TYPE) - Method in interface jsonvalues.Json
-
- intNum(JsPath) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the integer number located at a path in an array
- intNum(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the integer number located at an index 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(int) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the integer number located at an index 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(String) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a integer number located at a key 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
- intNum(String) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the integer number located at a key in an object
- isArray() - Method in class jsonvalues.JsArray
-
- isArray() - Method in interface jsonvalues.JsValue
-
Returns true if this JsValue is a JsArray
- 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(Predicate<BigDecimal>) - Method in interface jsonvalues.JsValue
-
Returns true if this elem is a JsBigDec and satisfies the given predicate
- isBigDec() - Method in interface jsonvalues.JsValue
-
Returns true if this JsValue is a JsBigDec
- isBigInt() - Method in class jsonvalues.JsBigInt
-
- isBigInt(Predicate<BigInteger>) - Method in interface jsonvalues.JsValue
-
Returns true if this elem is a JsBigInt and satisfies the given predicate
- isBigInt() - Method in interface jsonvalues.JsValue
-
Returns true if this JsValue is a JsBigInt
- isBinary() - Method in class jsonvalues.JsBinary
-
- isBinary() - Method in class jsonvalues.JsStr
-
- isBinary() - Method in interface jsonvalues.JsValue
-
Returns true if this JsValue is a JsBinary or a JsString which value is an array of
- isBool() - Method in class jsonvalues.JsBool
-
- isBool() - Method in interface jsonvalues.JsValue
-
Returns true if this JsValue is a JsBool
- isDecimal() - Method in interface jsonvalues.JsValue
-
Returns true if this element is a decimal number (JsDouble or JsBigDec)
- isDouble() - Method in class jsonvalues.JsDouble
-
- isDouble(DoublePredicate) - Method in interface jsonvalues.JsValue
-
Returns true if this elem is a JsDouble and satisfies the given predicate
- isDouble() - Method in interface jsonvalues.JsValue
-
Returns true if this JsValue is a JsDouble
- 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
-
Returns true if this JsValue is a JsBool, and it's false
- 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
-
Returns true if this JsValue is a JsInstant or a JsString which value is a
date formatted in ISO-8601
- 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(IntPredicate) - Method in interface jsonvalues.JsValue
-
Returns true if this elem is a JsInt and satisfies the given predicate
- isInt() - Method in interface jsonvalues.JsValue
-
Returns true if this JsValue is a JsInt
- isIntegral() - Method in interface jsonvalues.JsValue
-
Returns true if this element is an integral number (JsInt or JsLong or JsBigInt)
- isJson() - Method in class jsonvalues.JsPrimitive
-
- isJson() - Method in interface jsonvalues.JsValue
-
Returns true if this JsValue is a Json (JsObj or JsArray)
- 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(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.
- isKey() - Method in interface jsonvalues.Position
-
Returns true if this position is an key.
- isLong() - Method in class jsonvalues.JsLong
-
- isLong(LongPredicate) - Method in interface jsonvalues.JsValue
-
Returns true if this elem is a JsLong and satisfies the given predicate
- isLong() - Method in interface jsonvalues.JsValue
-
Returns this JsValue as a JsLong
- 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
-
Returns true if this element is JsNothing
- isNotNothing() - Method in interface jsonvalues.JsValue
-
Returns true if this element is not JsNothing
- isNotNull() - Method in interface jsonvalues.JsValue
-
Return true if this element is not null
- isNotNumber() - Method in interface jsonvalues.JsValue
-
Returns true if this element is not a number
- isNull() - Method in class jsonvalues.JsNull
-
- isNull() - Method in interface jsonvalues.JsValue
-
Returns true if this element is null
- isNumber() - Method in class jsonvalues.JsNumber
-
- isNumber() - Method in interface jsonvalues.JsValue
-
Returns true if this element is a number
- isObj() - Method in class jsonvalues.JsObj
-
- isObj() - Method in interface jsonvalues.JsValue
-
Returns true if this JsValue is a JsObj
- isObj(Predicate<JsObj>) - Method in interface jsonvalues.JsValue
-
Returns true if this elem is a JsObj and satisfies the given predicate
- isPrimitive() - Method in class jsonvalues.JsPrimitive
-
- isPrimitive() - Method in interface jsonvalues.JsValue
-
Returns true if this JsValue is a not a Json (neither JsObj nor JsArray)
- 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(Predicate<String>) - Method in interface jsonvalues.JsValue
-
Returns true if this elem is a JsStr and satisfies the given predicate
- isStr() - Method in interface jsonvalues.JsValue
-
Returns true if this JsValue is a JsStr
- isTrue() - Method in class jsonvalues.JsBool
-
- isTrue() - Method in interface jsonvalues.JsValue
-
Returns true if this JsValue is a JsBool, and it's true
- iterator() - Method in class jsonvalues.JsArray
-
- iterator() - Method in class jsonvalues.JsObj
-
- 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.
- JsArrayGen - Class in jsonvalues.gen
-
represent a JsArray generator.
- 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
-
- JsArraySpec - Interface in jsonvalues.spec
-
- JsBigDec - Class in jsonvalues
-
Represents an immutable json number of type BigDecimal.
- JsBigDecGen - Class in jsonvalues.gen
-
Represents a JsBigDec generator.
- JsBigInt - Class in jsonvalues
-
Represents an immutable json number of type BigInteger.
- JsBigIntGen - Class in jsonvalues.gen
-
Represents a JsBigInt generator.
- JsBinary - Class in jsonvalues
-
Represents an array of bytes.
- JsBinaryGen - Class in jsonvalues.gen
-
Represents a JsBinary generator.
- JsBool - Class in jsonvalues
-
Represents an immutable json boolean.
- JsBoolGen - Class in jsonvalues.gen
-
Represents a JsBool generator
- JsDouble - Class in jsonvalues
-
Represents an immutable json number of type double.
- JsDoubleGen - Class in jsonvalues.gen
-
Represents a JsDouble generator.
- JsInstant - Class in jsonvalues
-
Represents an immutable instant.
- JsInstantGen - Class in jsonvalues.gen
-
Represents a JsInstant generator.
- JsInt - Class in jsonvalues
-
Represents an immutable json number of type integer.
- JsIntGen - Class in jsonvalues.gen
-
Represents a JsInstant generator.
- JsLong - Class in jsonvalues
-
Represents an immutable json number of type long.
- JsLongGen - Class in jsonvalues.gen
-
Represents a JsInstant generator.
- 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 an immutable JSON object.
- JsObj() - Constructor for class jsonvalues.JsObj
-
- JsObjGen - Class in jsonvalues.gen
-
Represents a JsObj generator.
- 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(JsSpec) - Constructor for class jsonvalues.spec.JsObjParser
-
- JsObjSpec - Class in jsonvalues.spec
-
Represents a specification of 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
-
- jsonvalues.gen - package jsonvalues.gen
-
- jsonvalues.spec - package jsonvalues.spec
-
- JsOptics - Class in jsonvalues
-
represents optics defined for json objects and arrays
- 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
- JsParserException - Exception in com.dslplatform.json
-
- JsParserException(String, int) - Constructor for exception com.dslplatform.json.JsParserException
-
- JsParserException(Throwable) - Constructor for exception com.dslplatform.json.JsParserException
-
- JsPath - Class in jsonvalues
-
Represents the full path location of an element in a json.
- JsPrimitive - Class in jsonvalues
-
- JsPrimitive() - Constructor for class jsonvalues.JsPrimitive
-
- JsSpec - Interface in jsonvalues.spec
-
- JsSpecParser - Interface in com.dslplatform.json
-
- JsSpecParsers - Class in com.dslplatform.json
-
set of factory methods to create parsers from specs.
- JsSpecs - Class in jsonvalues.spec
-
- JsStr - Class in jsonvalues
-
Represents an immutable json string.
- JsStrGen - Class in jsonvalues.gen
-
Represents a JsStr generator.
- JsTupleGen - Class in jsonvalues.gen
-
Represents a tuple generator that is modeled with a JsArray generator.
- 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.
- parse(JsonReader<?>) - Method in interface com.dslplatform.json.JsSpecParser
-
- 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 JSON object.
- 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(String) - Method in class jsonvalues.spec.JsArrayParser
-
parses a string into a Json array that must conform the spec of the parser.
- 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(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(String) - Method in class jsonvalues.spec.JsObjParser
-
parses a string into a Json object 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.
- parser() - Method in class jsonvalues.spec.JsArrayOfJsObjSpec
-
- parser() - Method in class jsonvalues.spec.JsObjSpec
-
- parser() - Method in interface jsonvalues.spec.JsSpec
-
Returns the deserializer used during the parsing process to parse an array of bytes or string
- 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
-
- parseYaml(String) - Static method in class jsonvalues.JsArray
-
Tries to parse the YAML string into an immutable json array.
- parseYaml(String) - Static method in class jsonvalues.JsObj
-
Tries to parse a YAML string into an immutable JSON object.
- path(String) - Static method in class jsonvalues.JsPath
-
- path - Variable in class jsonvalues.spec.SpecError
-
- pathHeadIsNotAKey(JsPath) - Static method in exception jsonvalues.UserError
-
- pathHeadIsNotAnIndex(JsPath) - Static method in exception jsonvalues.UserError
-
- 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(JsValue, JsValue...) - Method in class jsonvalues.JsArray
-
Adds one or more elements, starting from the last, to the front of this array.
- prepend(JsPath) - Method in class jsonvalues.JsPath
-
Creates a new JsPath prepending the given path to this path.
- 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.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
- serialize(Json<?>) - Method in class com.dslplatform.json.MyDslJson
-
- serialize(Json<?>, OutputStream) - Method in class com.dslplatform.json.MyDslJson
-
- serialize(OutputStream) - Method in interface jsonvalues.Json
-
Serializes this Json into the given output stream, no returning anything
- serialize() - Method in interface jsonvalues.Json
-
Serialize this Json into an array of bytes.
- SerializerException - Exception in com.dslplatform.json
-
- SerializerException(Throwable) - Constructor for exception com.dslplatform.json.SerializerException
-
- set(String, Gen<? extends JsValue>) - Method in class jsonvalues.gen.JsObjGen
-
Returns a brand new JsObj generator with the same key-generators pairs that this instance
plus the specified by the params key and gen
- set(JsPath, JsValue) - Method in class jsonvalues.JsArray
-
- set(int, JsValue) - Method in class jsonvalues.JsArray
-
- set(int, JsValue, JsValue) - Method in class jsonvalues.JsArray
-
- set(JsPath, JsValue, JsValue) - Method in class jsonvalues.JsArray
-
- set(String, JsValue) - Method in class jsonvalues.JsObj
-
Inserts the element at the key in this json, replacing any existing element.
- set(JsPath, JsValue, JsValue) - Method in class jsonvalues.JsObj
-
- set(JsPath, 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(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(String, JsSpec) - Method in class jsonvalues.spec.JsObjSpec
-
add the given key spec to this
- 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
-
Returns the number of Position (keys and indexes) of this
JsPath
- SpecError - Class in jsonvalues.spec
-
- startsWith(JsPath) - Method in class jsonvalues.JsPath
-
returns true if this path starts with the given path.
- str(JsPath) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the string located at a path in an array
- str(int) - Method in class jsonvalues.JsOptics.JsArrayLenses
-
lens that focus on the string located at an index 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(int) - Method in class jsonvalues.JsOptics.JsArrayOptionals
-
optional that focus on the string located at an index 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(String) - Method in class jsonvalues.JsOptics.JsObjLenses
-
lens that focus on a string located at a key in an object.
- str(JsPath) - Method in class jsonvalues.JsOptics.JsObjOptional
-
optional that focus on the string located at a path 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() - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable string
- str(Predicate<String>) - Static method in class jsonvalues.spec.JsSpecs
-
non-nullable string that satisfies the given predicate
- stream() - Method in class jsonvalues.JsArray
-
- stream() - Method in class jsonvalues.JsObj
-
- stream() - Method in interface jsonvalues.Json
-
Returns a stream over all the pairs of elements in this json object.
- stream() - Method in class jsonvalues.JsPath
-
Returns a sequential Stream
of Positions with this path as its source.
- suchThat(JsObjSpec) - Method in class jsonvalues.gen.JsObjGen
-
Creates a generator that generates values from this gen that satisfy the specified
spec.
- suchThat(JsObjSpec, int) - Method in class jsonvalues.gen.JsObjGen
-
Creates a generator that generates values from this gen that satisfy the specified
spec.
- suchThat(Predicate<JsObj>) - Method in class jsonvalues.spec.JsObjSpec
-
- suchThatNo(JsObjSpec) - Method in class jsonvalues.gen.JsObjGen
-
Creates a generator that generates values from this gen that doesn't satisfy the specified
spec.
- suchThatNo(JsObjSpec, int) - Method in class jsonvalues.gen.JsObjGen
-
Creates a generator that generates values from this gen that doesn't satisfy the specified
spec.
- 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.JsPath
-
Returns a JsPath without the head of this JsPath
- test(Predicate<BigDecimal>) - Method in class jsonvalues.JsBigDec
-
Tests the value of this json big-decimal on a predicate
- test(Predicate<BigInteger>) - Method in class jsonvalues.JsBigInt
-
Tests the value of this json bigint on a predicate.
- 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(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(JsValue) - Method in interface jsonvalues.spec.JsSpec
-
- test(JsPath, JsValue) - Method in class jsonvalues.spec.JsTupleSpec
-
- toJsArray() - Method in interface jsonvalues.JsValue
-
Returns this JsValue as a JsArray
- toJsBigDec() - Method in interface jsonvalues.JsValue
-
Returns this JsValue as a JsBigDec
- toJsBigInt() - Method in interface jsonvalues.JsValue
-
Retruns this JsValue as a JsBigInt
- toJsBinary() - Method in interface jsonvalues.JsValue
-
Returns this JsValue as a JsBinary
- toJsBool() - Method in interface jsonvalues.JsValue
-
Returns this JsValue as a JsBool
- toJsDouble() - Method in interface jsonvalues.JsValue
-
Returns this JsValue as a JsDouble
- toJsInstant() - Method in interface jsonvalues.JsValue
-
Returns this JsValue as a JsInstant
- toJsInt() - Method in interface jsonvalues.JsValue
-
Returns this JsValue as a JsInt
- toJsLong() - Method in interface jsonvalues.JsValue
-
Returns this JsValue as a JsLong
- toJsNumber() - Method in interface jsonvalues.JsValue
-
Returns this JsValue as a JsStr
- toJsObj() - Method in interface jsonvalues.JsValue
-
Returns this JsValue as a JsObj
- toJson() - Method in interface jsonvalues.JsValue
-
Returns this JsValue as a Json
- toJsPrimitive() - Method in class jsonvalues.JsBinary
-
- toJsPrimitive() - Method in class jsonvalues.JsBool
-
- toJsPrimitive() - Method in class jsonvalues.JsInstant
-
- toJsPrimitive() - Method in class jsonvalues.JsNothing
-
- toJsPrimitive() - Method in class jsonvalues.JsNull
-
- toJsPrimitive() - Method in class jsonvalues.JsNumber
-
- toJsPrimitive() - Method in interface jsonvalues.Json
-
- toJsPrimitive() - Method in class jsonvalues.JsStr
-
- toJsPrimitive() - Method in interface jsonvalues.JsValue
-
- toJsStr() - Method in interface jsonvalues.JsValue
-
Returns this JsValue as a JsStr
- toPrettyString(Json<?>, int) - Method in class com.dslplatform.json.MyDslJson
-
- toPrettyString(int) - Method in interface jsonvalues.Json
-
Converts the string representation of this Json to a pretty print version
It's indented using whitespaces
- toPrettyString() - Method in interface jsonvalues.Json
-
Converts the string representation of this Json to a pretty print version.
- 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.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.SpecError
-
- TRUE - Static variable in class jsonvalues.JsBool
-
The singleton true value.
- TRUE - Static variable in class jsonvalues.spec.JsSpecs
-
true constant spec
- tuple(JsSpec, JsSpec...) - Static method in class jsonvalues.spec.JsSpecs
-
returns a tuple spec.
- TYPE_ID - Static variable in class jsonvalues.JsArray
-
- TYPE_ID - Static variable in class jsonvalues.JsBigDec
-
- TYPE_ID - Static variable in class jsonvalues.JsBigInt
-
- TYPE_ID - Static variable in class jsonvalues.JsBinary
-
- TYPE_ID - Static variable in class jsonvalues.JsBool
-
- TYPE_ID - Static variable in class jsonvalues.JsDouble
-
- TYPE_ID - Static variable in class jsonvalues.JsInstant
-
- TYPE_ID - Static variable in class jsonvalues.JsInt
-
- TYPE_ID - Static variable in class jsonvalues.JsLong
-
- TYPE_ID - Static variable in class jsonvalues.JsNothing
-
- TYPE_ID - Static variable in class jsonvalues.JsNull
-
- TYPE_ID - Static variable in class jsonvalues.JsObj
-
- TYPE_ID - Static variable in class jsonvalues.JsStr
-