All Classes Interface Summary Class Summary Enum Summary Exception Summary
| Class |
Description |
| Error |
|
| ERROR_CODE |
|
| 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.
|
| JsArrayConsole |
represents a supplier of a completable future than composes a json array from the user inputs in
the standard console.
|
| JsArrayFuture |
Represents a supplier of a completable future which result is a json array.
|
| JsArrayOfJsObjSpec |
|
| JsArrayParser |
|
| JsArraySerializer |
|
| JsArraySpec |
|
| JsArraySpecParser |
|
| JsArraySupplier |
Represents a Json array of suppliers that combines every supplier
and produces as a result a Json array
|
| JsBigDec |
Represents an immutable json number of type BigDecimal.
|
| JsBigInt |
Represents an immutable json number of type BigInteger.
|
| JsBinary |
Represents an array of bytes.
|
| JsBinaryLens<S extends Json<S>> |
Represent a Lens which focus is an array of bytes located at a path in a Json
|
| JsBool |
Represents an immutable json boolean.
|
| JsConsole<T extends JsValue> |
Represents a functional effect than when execute creates e JsValue
|
| JsDouble |
Represents an immutable json number of type double.
|
| JsErrorPair |
|
| JsFuture<T extends JsValue> |
Represents a supplier of a completable future which result is a JsValue
|
| JsFutures |
|
| JsGen<R extends JsValue> |
|
| JsGens |
Class with different kind of generators
|
| JsInstant |
Represents an immutable instant.
|
| JsInstantLens<S extends Json<S>> |
Represent a Lens which focus is an Instant located at a path in a Json
|
| JsInt |
Represents an immutable json number of type integer.
|
| JsIOs |
|
| 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.
|
| JsObjConsole |
represents a supplier of a completable future than composes a json object from the user inputs on
the console.
|
| JsObjFuture |
Represents a supplier of a completable future which result is a json object.
|
| JsObjGen |
represent a generator of Json objects.
|
| JsObjLens<S extends Json<S>> |
Represent a Lens which focus is a json object located at a path is a Json
|
| JsObjParser |
|
| JsObjSerializer |
|
| JsObjSpec |
Represents a specification of a Json object
|
| JsObjSupplier |
Represents a Json object of suppliers that combines every supplier
and produces as a result a Json object
|
| Json<T extends Json<T>> |
Represents a json of type T, where T is the type of the container, either a JsObj or a JsArray.
|
| JsOptics |
represents optics defined for json objects and arrays
|
| 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).
|
| JsParserException |
|
| JsPath |
Represents the full path location of an element in a json.
|
| JsSpec |
|
| JsSpecParser |
|
| JsSpecParsers |
|
| JsSpecs |
|
| JsStr |
Represents an immutable json string.
|
| JsTupleSpec |
Represents a specification of every element of a Json array.
|
| JsValue |
Represents a json element of any type.
|
| JsValueSerializer |
|
| Key |
represents the key of a value in a json object
|
| Lens<S,O> |
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.
|
| MalformedJson |
Exception returned when a string can not be parsed into a Json or the json parsed has a different
type than the expected.
|
| MyDslJson<Object> |
|
| MyNumberConverter |
dsl-json number deserializers accept numbers wrapped in strings, which is not
a desirable behaviour from my point of view.
|
| Option<S,T> |
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<S,T> |
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.
|
| Program<O extends Json<?>> |
Represents a side effect that interact with the user through the standard console to compose
a Json
|
| SerializerException |
|
| Trampoline<T> |
Trampolines allow to define recursive algorithms by iterative loops without blowing the stack when
methods implementations are tail recursive.
|
| UserError |
Exception that models a programming error made by the user.
|