A B C D E F G H I J K L M N O P R S T U V 
All Classes All Packages

A

all - Variable in class jsonvalues.Prism
check if there is no target or the target satisfies the predicate
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(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.
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.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(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
 
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.spec.JsSpecs
non-nullable array spec
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.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
 

C

code - Variable in class jsonvalues.spec.JsError
 
com.dslplatform.json - package com.dslplatform.json
 
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 from 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.
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
cons(JsValue) - Static method in class jsonvalues.spec.JsSpecs
a required and non nullable spec that specifies a constant
CONSTANT_CONDITION - jsonvalues.spec.ERROR_CODE
 
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

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.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
 
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.JsArray
 
empty() - Static method in class jsonvalues.JsObj
 
empty() - Static method in class jsonvalues.JsPath
Returns the singleton empty path.
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(Object) - Method in class jsonvalues.spec.JsError
 
equals(Object) - Method in class jsonvalues.spec.JsErrorPair
 
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_CODE - Enum in jsonvalues.spec
 
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(BiPredicate<? super JsPath, ? super JsValue>) - Method in class jsonvalues.JsArray
 
filterAllKeys(BiPredicate<? super JsPath, ? super JsValue>) - Method in class jsonvalues.JsObj
 
filterAllKeys(BiPredicate<? super JsPath, ? super JsValue>) - Method in interface jsonvalues.Json
Filters all the keys of this json, removing those that don't ifPredicateElse the predicate.
filterAllKeys(Predicate<? super String>) - Method in class jsonvalues.JsArray
 
filterAllKeys(Predicate<? super String>) - Method in class jsonvalues.JsObj
 
filterAllKeys(Predicate<? super String>) - 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.
filterAllObjs(Predicate<? super JsObj>) - Method in class jsonvalues.JsArray
 
filterAllObjs(Predicate<? super JsObj>) - Method in class jsonvalues.JsObj
 
filterAllObjs(Predicate<? 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(BiPredicate<? super JsPath, ? super JsPrimitive>) - Method in class jsonvalues.JsArray
 
filterAllValues(BiPredicate<? super JsPath, ? super JsPrimitive>) - Method in class jsonvalues.JsObj
 
filterAllValues(BiPredicate<? super JsPath, ? super JsPrimitive>) - Method in interface jsonvalues.Json
Filters all the pairs of elements of this json, removing those that don't ifPredicateElse the predicate.
filterAllValues(Predicate<? super JsPrimitive>) - Method in class jsonvalues.JsArray
 
filterAllValues(Predicate<? super JsPrimitive>) - Method in class jsonvalues.JsObj
 
filterAllValues(Predicate<? super JsPrimitive>) - Method in interface jsonvalues.Json
Filters all the pairs of elements of this json, removing those that don't ifPredicateElse the predicate.
filterKeys(BiPredicate<? super String, ? super JsValue>) - Method in class jsonvalues.JsArray
 
filterKeys(BiPredicate<? super String, ? super JsValue>) - Method in class jsonvalues.JsObj
 
filterKeys(Predicate<? super String>) - Method in class jsonvalues.JsArray
 
filterKeys(Predicate<? super String>) - Method in class jsonvalues.JsObj
 
filterKeys(Predicate<? super String>) - 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 Integer, ? super JsObj>) - Method in class jsonvalues.JsArray
 
filterObjs(BiPredicate<? super String, ? super JsObj>) - Method in class jsonvalues.JsObj
 
filterObjs(Predicate<? super JsObj>) - Method in class jsonvalues.JsArray
 
filterObjs(Predicate<? super JsObj>) - Method in class jsonvalues.JsObj
 
filterObjs(Predicate<? 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(BiPredicate<? super Integer, ? super JsPrimitive>) - Method in class jsonvalues.JsArray
 
filterValues(BiPredicate<? super String, ? super JsPrimitive>) - Method in class jsonvalues.JsObj
 
filterValues(Predicate<? super JsPrimitive>) - Method in class jsonvalues.JsArray
 
filterValues(Predicate<? super JsPrimitive>) - Method in class jsonvalues.JsObj
 
filterValues(Predicate<? super JsPrimitive>) - 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
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(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(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) - 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.
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.
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(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.

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.
hashCode() - Method in class jsonvalues.spec.JsError
 
hashCode() - Method in class jsonvalues.spec.JsErrorPair
 
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
 
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 a 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.JsSpecParsers
 
INSTANCE - Static variable in class com.dslplatform.json.MyDslJson
 
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.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 both this and that.
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.
intersectionAll(JsArray) - Method in class jsonvalues.JsArray
this.intersectionAll(that) behaves as this.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 as this.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
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() - Method in interface jsonvalues.JsValue
Returns true if this JsValue is a JsBigDec
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
Returns true if this JsValue is a JsBigInt
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
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 an decimal number (JsDouble or JsBigDec)
isDouble() - Method in class jsonvalues.JsDouble
 
isDouble() - Method in interface jsonvalues.JsValue
Returns true if this JsValue is a JsDouble
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
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() - Method in interface jsonvalues.JsValue
Returns true if this JsValue is a JsInt
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
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() - 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
Returns this JsValue as a JsLong
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
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)
isRequired() - Method in class jsonvalues.spec.JsArrayOfJsObjSpec
 
isRequired() - Method in class jsonvalues.spec.JsObjSpec
 
isRequired() - Method in interface jsonvalues.spec.JsSpec
Returns whether the key is optional.
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
Returns true if this JsValue is a JsStr
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
Returns true if this JsValue is a JsBool, and it's true
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.
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
 
JsArraySpecParser - Class in com.dslplatform.json
 
JsArraySpecParser(Vector<JsSpecParser>) - Constructor for class com.dslplatform.json.JsArraySpecParser
 
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.
JsDouble - Class in jsonvalues
Represents an immutable json number of type double.
JsError - Class in jsonvalues.spec
 
JsError(JsValue, ERROR_CODE) - Constructor for class jsonvalues.spec.JsError
 
JsErrorPair - Class in jsonvalues.spec
 
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.
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
 
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
 
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
json-values is a one-package and zero-dependency library to work with jsons in a declarative and functional way.
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
JsPair - Class in jsonvalues
Immutable pair which represents a value and its location: (path, value).
JsParserException - Exception in com.dslplatform.json
 
JsParserException(String) - 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
 
JsSpecs - Class in jsonvalues.spec
 
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.

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
 
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.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<Instant, Instant>) - Method in class jsonvalues.JsInstant
 
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(BiFunction<? super JsPath, ? super JsValue, String>) - Method in class jsonvalues.JsArray
 
mapAllKeys(BiFunction<? super JsPath, ? super JsValue, String>) - Method in class jsonvalues.JsObj
 
mapAllKeys(BiFunction<? super JsPath, ? super JsValue, String>) - Method in interface jsonvalues.Json
Maps all the keys of this json.
mapAllKeys(Function<? super String, String>) - Method in class jsonvalues.JsArray
 
mapAllKeys(Function<? super String, String>) - Method in class jsonvalues.JsObj
 
mapAllKeys(Function<? super String, 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.
mapAllObjs(Function<? super JsObj, JsValue>) - Method in class jsonvalues.JsArray
 
mapAllObjs(Function<? super JsObj, JsValue>) - Method in class jsonvalues.JsObj
 
mapAllObjs(Function<? super JsObj, JsValue>) - Method in interface jsonvalues.Json
Maps all the jsons of this json.
mapAllValues(BiFunction<? super JsPath, ? super JsPrimitive, ? extends JsValue>) - Method in class jsonvalues.JsArray
 
mapAllValues(BiFunction<? super JsPath, ? super JsPrimitive, ? extends JsValue>) - Method in class jsonvalues.JsObj
 
mapAllValues(BiFunction<? super JsPath, ? super JsPrimitive, ? extends JsValue>) - Method in interface jsonvalues.Json
Maps all the values of this json.
mapAllValues(Function<? super JsPrimitive, ? extends JsValue>) - Method in class jsonvalues.JsArray
 
mapAllValues(Function<? super JsPrimitive, ? extends JsValue>) - Method in class jsonvalues.JsObj
 
mapAllValues(Function<? super JsPrimitive, ? extends JsValue>) - Method in interface jsonvalues.Json
Maps all the values of this json.
mapKeys(BiFunction<? super String, ? super JsValue, String>) - Method in class jsonvalues.JsArray
 
mapKeys(BiFunction<? super String, ? super JsValue, String>) - Method in class jsonvalues.JsObj
 
mapKeys(Function<? super String, String>) - Method in class jsonvalues.JsArray
 
mapKeys(Function<? super String, String>) - Method in class jsonvalues.JsObj
 
mapKeys(Function<? super String, 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 Integer, ? super JsObj, JsValue>) - Method in class jsonvalues.JsArray
 
mapObjs(BiFunction<? super String, ? super JsObj, JsValue>) - Method in class jsonvalues.JsObj
 
mapObjs(Function<? super JsObj, JsValue>) - Method in class jsonvalues.JsArray
 
mapObjs(Function<? super JsObj, JsValue>) - Method in class jsonvalues.JsObj
 
mapObjs(Function<? super JsObj, JsValue>) - Method in interface jsonvalues.Json
Maps the jsons in the first level of this json.
mapValues(BiFunction<? super Integer, ? super JsPrimitive, ? extends JsValue>) - Method in class jsonvalues.JsArray
 
mapValues(BiFunction<? super String, ? super JsPrimitive, ? extends JsValue>) - Method in class jsonvalues.JsObj
 
mapValues(Function<? super JsPrimitive, ? extends JsValue>) - Method in class jsonvalues.JsArray
 
mapValues(Function<? super JsPrimitive, ? extends JsValue>) - Method in class jsonvalues.JsObj
 
mapValues(Function<? super JsPrimitive, ? 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.
MULTISET - jsonvalues.JsArray.TYPE
The order of data items does not matter, but in this case duplicate data items are permitted.
MyDslJson<A> - Class in com.dslplatform.json
 

N

n - Variable in class jsonvalues.Index
The index number.
name - Variable in class jsonvalues.Key
name of the key.
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 class jsonvalues.spec.JsArrayOfJsObjSpec
 
nullable() - Method in class jsonvalues.spec.JsObjSpec
 
nullable() - Method in interface jsonvalues.spec.JsSpec
Returns the same spec with the nullable flag enabled
nullable() - Method in class jsonvalues.spec.JsTupleSpec
 
nullOrArray(JsonReader<?>) - Method in class com.dslplatform.json.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, 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, JsError) - 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.JsSpecParsers
 
ofArrayOfBoolSuchThat(Function<JsArray, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfDecimal(boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfDecimalEachSuchThat(Function<BigDecimal, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfDecimalSuchThat(Function<JsArray, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfInt(boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfIntEachSuchThat(IntFunction<Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfIntegral(boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfIntegralEachSuchThat(Function<BigInteger, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfIntegralSuchThat(Function<JsArray, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfIntSuchThat(Function<JsArray, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfLong(boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfLongEachSuchThat(LongFunction<Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfLongSuchThat(Function<JsArray, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfNumber(boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfNumberEachSuchThat(Function<JsNumber, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfNumberSuchThat(Function<JsArray, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfObj(boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfObjEachSuchThat(Function<JsObj, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfObjSpec(Vector<String>, Map<String, JsSpecParser>, boolean, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfObjSuchThat(Function<JsArray, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfStr(boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfStrEachSuchThat(Function<String, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfStrSuchThat(Function<JsArray, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfValue(boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfValueEachSuchThat(Function<JsValue, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArrayOfValueSuchThat(Function<JsArray, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofArraySpec(Vector<JsSpecParser>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofBinary(boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofBinarySuchThat(Function<byte[], Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofBool(boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofDecimal(boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofDecimalSuchThat(Function<BigDecimal, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofFalse(boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofInstant(boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofInstantSuchThat(Function<Instant, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofInt(boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofIntegral(boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofIntegralSuchThat(Function<BigInteger, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofIntSuchThat(IntFunction<Optional<JsError>>, boolean) - Method in class com.dslplatform.json.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.JsSpecParsers
 
ofLongSuchThat(LongFunction<Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofNumber(boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofNumberSuchThat(Function<JsNumber, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofObj(boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofObjSpec(Vector<String>, Map<String, JsSpecParser>, boolean, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofObjSuchThat(Function<JsObj, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofStr(boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofStrSuchThat(Function<String, Optional<JsError>>, boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofTrue(boolean) - Method in class com.dslplatform.json.JsSpecParsers
 
ofValue() - Method in class com.dslplatform.json.JsSpecParsers
 
ofValueSuchThat(Function<JsValue, Optional<JsError>>) - Method in class com.dslplatform.json.JsSpecParsers
 
oneOf(List<O>) - Static method in class jsonvalues.spec.JsSpecs
 
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 class jsonvalues.spec.JsArrayOfJsObjSpec
 
optional() - Method in class jsonvalues.spec.JsObjSpec
 
optional() - Method in interface jsonvalues.spec.JsSpec
Returns the same spec with the optional flag enabled
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.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.
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 object.
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
 

R

reduce(BinaryOperator<R>, BiFunction<? super Integer, ? super JsPrimitive, R>, BiPredicate<? super Integer, ? super JsPrimitive>) - Method in class jsonvalues.JsArray
 
reduce(BinaryOperator<R>, BiFunction<? super String, ? super JsPrimitive, R>, BiPredicate<? super String, ? super JsPrimitive>) - Method in class jsonvalues.JsObj
Performs a reduction on the values that satisfy the predicate in the first level of this json.
reduce(BinaryOperator<R>, Function<? super JsPrimitive, R>, Predicate<? super JsPrimitive>) - Method in class jsonvalues.JsArray
 
reduce(BinaryOperator<R>, Function<? super JsPrimitive, R>, Predicate<? super JsPrimitive>) - Method in class jsonvalues.JsObj
 
reduce(BinaryOperator<R>, Function<? super JsPrimitive, R>, Predicate<? super JsPrimitive>) - 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>, BiFunction<? super JsPath, ? super JsPrimitive, R>, BiPredicate<? super JsPath, ? super JsPrimitive>) - Method in class jsonvalues.JsArray
 
reduceAll(BinaryOperator<R>, BiFunction<? super JsPath, ? super JsPrimitive, R>, BiPredicate<? super JsPath, ? super JsPrimitive>) - Method in class jsonvalues.JsObj
 
reduceAll(BinaryOperator<R>, BiFunction<? super JsPath, ? super JsPrimitive, R>, BiPredicate<? super JsPath, ? super JsPrimitive>) - Method in interface jsonvalues.Json
Performs a reduction on the values of this json that satisfy the predicate.
reduceAll(BinaryOperator<R>, Function<? super JsPrimitive, R>, Predicate<? super JsPrimitive>) - Method in class jsonvalues.JsArray
 
reduceAll(BinaryOperator<R>, Function<? super JsPrimitive, R>, Predicate<? super JsPrimitive>) - Method in class jsonvalues.JsObj
 
reduceAll(BinaryOperator<R>, Function<? super JsPrimitive, R>, Predicate<? super JsPrimitive>) - Method in interface jsonvalues.Json
Performs a reduction on the values of this json that satisfy the predicate.
REQUIRED - jsonvalues.spec.ERROR_CODE
 
reverseGet - Variable in class jsonvalues.Prism
get the modified source of a Prism

S

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
 
SerializerException(Throwable) - Constructor for exception com.dslplatform.json.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(int, JsValue) - Method in class jsonvalues.JsArray
 
set(int, 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(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.
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
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.spec.JsSpecs
non-nullable string
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.
streamValues() - Method in class jsonvalues.JsArray
 
streamValues() - Method in class jsonvalues.JsObj
 
streamValues() - Method in interface jsonvalues.Json
 
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
 

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
Returns a JsPath without the head of this 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(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
 
times(JsValue) - Method in interface jsonvalues.Json
 
timesAll(JsValue) - Method in interface jsonvalues.Json
 
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() - Method in interface jsonvalues.Json
Converts the string representation of this Json to a pretty print version.
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(Json<?>, int) - 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.JsError
 
toString() - Method in class jsonvalues.spec.JsErrorPair
 
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(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
 

U

union(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.
union(JsObj) - Method in class jsonvalues.JsObj
returns this json object plus those pairs from the given json object that which keys don't exist in this.
unionAll(JsArray) - Method in class jsonvalues.JsArray
returns this plus those elements from that which position is >= this.size(), and, at the positions where a container of the same type exists in both this and that, 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 both this and that 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.JsError
 
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.
A B C D E F G H I J K L M N O P R S T U V 
All Classes All Packages