Index |
represents the index of a value in an json array.
|
JsArray |
Represents a json array, which is an ordered list of elements.
|
JsArray.TYPE |
Type of arrays: SET, MULTISET or LIST.
|
JsBigDec |
Represents an immutable json number of type BigDecimal.
|
JsBigInt |
Represents an immutable json number of type BigInteger.
|
JsBinary |
Represents an array of bytes.
|
JsBool |
Represents an immutable json boolean.
|
JsDouble |
Represents an immutable json number of type double.
|
JsInstant |
Represents an immutable instant.
|
JsInt |
Represents an immutable json number of type integer.
|
JsLong |
Represents an immutable json number of type long.
|
JsNothing |
It's a special json element that represents 'nothing'.
|
JsNull |
Represents null, which a valid json value.
|
JsNumber |
Represents an immutable json number.
|
JsObj |
Represents a json object, which is an unordered set of name/element pairs.
|
Json |
Represents a json of type T, where T is the type of the container, either a JsObj or a JsArray.
|
JsOptics.JsArrayLenses |
represents all the lenses defined for a Json array
|
JsOptics.JsArrayOptics |
represents all the optics defined for a Json array
|
JsOptics.JsArrayOptionals |
represents all the S defined for a Json array
|
JsOptics.JsObjLenses |
represents all the lenses defined for a Json object
|
JsOptics.JsObjOptics |
represents all the optics defined for a Json object
|
JsOptics.JsObjOptional |
represents all the S defined for a Json object
|
JsPair |
Immutable pair which represents a value and its location: (path, value).
|
JsPath |
Represents the full path location of an element in a json.
|
JsPrimitive |
|
JsStr |
Represents an immutable json string.
|
JsValue |
Represents a json element of any type.
|
Key |
represents the key of a value in a json object
|
Lens |
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.
|
Option |
An Optional is an optic that allows seeing into a structure and getting, setting, or modifying an optional focus.
|
Position |
Represents the location of a first-level element in a json, either a Key in a JsObj or an Index in
a JsArray.
|
Prism |
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.
|
UserError |
Exception that models a programming error made by the user.
|