All Classes
-
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 arrayJsBigDec Represents an immutable json number of type BigDecimal.JsBigInt Represents an immutable json number of type BigInteger.JsBool Represents an immutable json boolean.JsConsole<T extends JsValue> Represents a functional effect than when execute creates e JsValueJsDouble Represents an immutable json number of type double.JsErrorPair JsFuture<T extends JsValue> Represents a supplier of a completable future which result is a JsValueJsFutures JsGen<R extends JsValue> JsGens Class with different kind of generatorsJsInt 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 JsonJsObjParser JsObjSerializer JsObjSpec Represents a specification of a Json objectJsObjSupplier Represents a Json object of suppliers that combines every supplier and produces as a result a Json objectJson<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 arraysJsOptics.JsArrayLenses represents all the lenses defined for a Json arrayJsOptics.JsArrayOptics represents all the optics defined for a Json arrayJsOptics.JsArrayOptionals represents all the S defined for a Json arrayJsOptics.JsObjLenses represents all the lenses defined for a Json objectJsOptics.JsObjOptics represents all the optics defined for a Json objectJsOptics.JsObjOptional represents all the S defined for a Json objectJsPair 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 objectLens<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 JsonSerializerException 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.