Index
All Classes and Interfaces|All Packages
A
- add(JsonParser<?>) - Method in class gov.nasa.jpl.aerie.json.SchemaCache
- anyP - Static variable in class gov.nasa.jpl.aerie.json.BasicParsers
- apply(T1, T2, T3) - Method in interface gov.nasa.jpl.aerie.json.Uncurry.Function3
- apply(T1, T2, T3, T4) - Method in interface gov.nasa.jpl.aerie.json.Uncurry.Function4
- apply(T1, T2, T3, T4, T5) - Method in interface gov.nasa.jpl.aerie.json.Uncurry.Function5
- apply(T1, T2, T3, T4, T5, T6) - Method in interface gov.nasa.jpl.aerie.json.Uncurry.Function6
- apply(T1, T2, T3, T4, T5, T6, T7) - Method in interface gov.nasa.jpl.aerie.json.Uncurry.Function7
- apply(T1, T2, T3, T4, T5, T6, T7, T8) - Method in interface gov.nasa.jpl.aerie.json.Uncurry.Function8
- apply(T1, T2, T3, T4, T5, T6, T7, T8, T9) - Method in interface gov.nasa.jpl.aerie.json.Uncurry.Function9
B
- BasicParsers - Class in gov.nasa.jpl.aerie.json
-
A namespace for primitive parsers and essential combinators.
- between(Function<S, ? extends T>, Function<? super T, S>) - Static method in interface gov.nasa.jpl.aerie.json.Convert
-
Constructs a conversion from two individual transformations.
- boolP - Static variable in class gov.nasa.jpl.aerie.json.BasicParsers
- Breadcrumb - Class in gov.nasa.jpl.aerie.json
- Breadcrumb.BreadcrumbVisitor<Result> - Interface in gov.nasa.jpl.aerie.json
- breadcrumbs() - Method in record class gov.nasa.jpl.aerie.json.JsonParseResult.FailureReason
-
Returns the value of the
breadcrumbsrecord component.
C
- cast() - Method in record class gov.nasa.jpl.aerie.json.JsonParseResult.Failure
- chooseP(JsonParser<? extends T>...) - Static method in class gov.nasa.jpl.aerie.json.BasicParsers
- compose(Convert<T, X>) - Method in interface gov.nasa.jpl.aerie.json.Convert
-
Extends this two-way conversion to a new target type by chaining with another conversion.
- Convert<S,
T> - Interface in gov.nasa.jpl.aerie.json -
An infallible two-way conversion between types
SandT.
D
- Defining a format - Search tag in package gov.nasa.jpl.aerie.json
- Section
- doubleP - Static variable in class gov.nasa.jpl.aerie.json.BasicParsers
E
- enumP(Class<E>, Function<E, String>) - Static method in class gov.nasa.jpl.aerie.json.BasicParsers
- equals(Object) - Method in record class gov.nasa.jpl.aerie.json.JsonParseResult.Failure
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class gov.nasa.jpl.aerie.json.JsonParseResult.FailureReason
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class gov.nasa.jpl.aerie.json.JsonParseResult.Success
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class gov.nasa.jpl.aerie.json.SumParsers.Variant
-
Indicates whether some other object is "equal to" this one.
F
- failure() - Static method in interface gov.nasa.jpl.aerie.json.JsonParseResult
- failure(JsonParseResult.FailureReason) - Static method in interface gov.nasa.jpl.aerie.json.JsonParseResult
- failure(String) - Static method in interface gov.nasa.jpl.aerie.json.JsonParseResult
- Failure(JsonParseResult.FailureReason) - Constructor for record class gov.nasa.jpl.aerie.json.JsonParseResult.Failure
-
Creates an instance of a
Failurerecord class. - FailureReason(String) - Constructor for record class gov.nasa.jpl.aerie.json.JsonParseResult.FailureReason
- FailureReason(List<Breadcrumb>, String) - Constructor for record class gov.nasa.jpl.aerie.json.JsonParseResult.FailureReason
-
Creates an instance of a
FailureReasonrecord class. - field(String, JsonParser<S>) - Method in class gov.nasa.jpl.aerie.json.ProductParsers.EmptyProductParser
- field(String, JsonParser<S>) - Method in class gov.nasa.jpl.aerie.json.ProductParsers.VariadicProductParser
- from(S) - Method in interface gov.nasa.jpl.aerie.json.Convert
-
Converts a value forward from the source type to the target type.
G
- getSchema() - Method in interface gov.nasa.jpl.aerie.json.JsonParser
-
Produces a JSON Schema document describing the format of JSON documents produced by
JsonParser.unparse(T). - getSchema(SchemaCache) - Method in interface gov.nasa.jpl.aerie.json.JsonParser
-
Produces a JSON Schema document fragment describing the format of JSON documents accepted by
JsonParser.parse(JsonValue)and produced byJsonParser.unparse(T). - getSchema(SchemaCache) - Method in class gov.nasa.jpl.aerie.json.PathJsonParser
- getSchema(SchemaCache) - Method in class gov.nasa.jpl.aerie.json.ProductParsers.EmptyProductParser
- getSchema(SchemaCache) - Method in class gov.nasa.jpl.aerie.json.ProductParsers.VariadicProductParser
- getSuccessOrThrow() - Method in interface gov.nasa.jpl.aerie.json.JsonParseResult
- getSuccessOrThrow(Function<JsonParseResult.FailureReason, ? extends Throws>) - Method in interface gov.nasa.jpl.aerie.json.JsonParseResult
- gov.nasa.jpl.aerie.json - package gov.nasa.jpl.aerie.json
-
A toolkit for authoring bidirectional JSON parsers with parser combinators.
H
- hashCode() - Method in record class gov.nasa.jpl.aerie.json.JsonParseResult.Failure
-
Returns a hash code value for this object.
- hashCode() - Method in record class gov.nasa.jpl.aerie.json.JsonParseResult.FailureReason
-
Returns a hash code value for this object.
- hashCode() - Method in record class gov.nasa.jpl.aerie.json.JsonParseResult.Success
-
Returns a hash code value for this object.
- hashCode() - Method in record class gov.nasa.jpl.aerie.json.SumParsers.Variant
-
Returns a hash code value for this object.
I
- identity() - Static method in interface gov.nasa.jpl.aerie.json.Convert
-
Constructs a trivial conversion between a type and itself.
- instantP - Static variable in class gov.nasa.jpl.aerie.json.BasicParsers
- intP - Static variable in class gov.nasa.jpl.aerie.json.BasicParsers
- invert() - Method in interface gov.nasa.jpl.aerie.json.Convert
-
Inverts this two-way conversion, swapping its source and target types.
- isFailure() - Method in interface gov.nasa.jpl.aerie.json.JsonParseResult
J
- JsonObjectParser<T> - Interface in gov.nasa.jpl.aerie.json
- JsonParser<T> - Interface in gov.nasa.jpl.aerie.json
-
An interface for two-way conversion between JSON documents and domain objects.
- JsonParseResult<T> - Interface in gov.nasa.jpl.aerie.json
- JsonParseResult.Failure<T> - Record Class in gov.nasa.jpl.aerie.json
- JsonParseResult.FailureReason - Record Class in gov.nasa.jpl.aerie.json
- JsonParseResult.Success<T> - Record Class in gov.nasa.jpl.aerie.json
K
- klass() - Method in record class gov.nasa.jpl.aerie.json.SumParsers.Variant
-
Returns the value of the
klassrecord component.
L
- listP(JsonParser<T>) - Static method in class gov.nasa.jpl.aerie.json.BasicParsers
- literalP(boolean) - Static method in class gov.nasa.jpl.aerie.json.BasicParsers
- literalP(double) - Static method in class gov.nasa.jpl.aerie.json.BasicParsers
- literalP(long) - Static method in class gov.nasa.jpl.aerie.json.BasicParsers
- literalP(String) - Static method in class gov.nasa.jpl.aerie.json.BasicParsers
- longP - Static variable in class gov.nasa.jpl.aerie.json.BasicParsers
- lookup(JsonParser<?>) - Method in class gov.nasa.jpl.aerie.json.SchemaCache
- lookupUncached(JsonParser<?>) - Method in class gov.nasa.jpl.aerie.json.SchemaCache
M
- map(Convert<T, S>) - Method in interface gov.nasa.jpl.aerie.json.JsonObjectParser
- map(Convert<T, S>) - Method in interface gov.nasa.jpl.aerie.json.JsonParser
-
Adapts this parser losslessly from one domain type to another with a two-way conversion.
- map(Function<T, S>, Function<S, T>) - Method in interface gov.nasa.jpl.aerie.json.JsonObjectParser
- map(Function<T, S>, Function<S, T>) - Method in interface gov.nasa.jpl.aerie.json.JsonParser
-
Adapts this parser losslessly from one domain type to another.
- mapP(JsonParser<S>) - Static method in class gov.nasa.jpl.aerie.json.BasicParsers
- mapSuccess(Function<T, S>) - Method in interface gov.nasa.jpl.aerie.json.JsonParseResult
N
- noneP - Static variable in class gov.nasa.jpl.aerie.json.BasicParsers
- nullableP(JsonParser<T>) - Static method in class gov.nasa.jpl.aerie.json.BasicParsers
- nullP - Static variable in class gov.nasa.jpl.aerie.json.BasicParsers
O
- ofInteger(int) - Static method in class gov.nasa.jpl.aerie.json.Breadcrumb
- ofString(String) - Static method in class gov.nasa.jpl.aerie.json.Breadcrumb
- onInteger(Integer) - Method in interface gov.nasa.jpl.aerie.json.Breadcrumb.BreadcrumbVisitor
- onString(String) - Method in interface gov.nasa.jpl.aerie.json.Breadcrumb.BreadcrumbVisitor
- optionalField(String, JsonParser<S>) - Method in class gov.nasa.jpl.aerie.json.ProductParsers.EmptyProductParser
- optionalField(String, JsonParser<S>) - Method in class gov.nasa.jpl.aerie.json.ProductParsers.VariadicProductParser
P
- parse(JsonValue) - Method in interface gov.nasa.jpl.aerie.json.JsonParser
-
Attempts to parse a JSON document into the domain type
T. - parse(JsonValue) - Method in class gov.nasa.jpl.aerie.json.PathJsonParser
- parse(JsonValue) - Method in class gov.nasa.jpl.aerie.json.ProductParsers.EmptyProductParser
- parse(JsonValue) - Method in class gov.nasa.jpl.aerie.json.ProductParsers.VariadicProductParser
- parser() - Method in record class gov.nasa.jpl.aerie.json.SumParsers.Variant
-
Returns the value of the
parserrecord component. - parWith(JsonParseResult<S>) - Method in interface gov.nasa.jpl.aerie.json.JsonParseResult
- parWith(JsonParseResult<S>, BiFunction<T, S, Result>) - Method in interface gov.nasa.jpl.aerie.json.JsonParseResult
-
Combine two results together.
- PathJsonParser - Class in gov.nasa.jpl.aerie.json
- PathJsonParser() - Constructor for class gov.nasa.jpl.aerie.json.PathJsonParser
- pathP - Static variable in class gov.nasa.jpl.aerie.json.PathJsonParser
- prependBreadcrumb(Breadcrumb) - Method in record class gov.nasa.jpl.aerie.json.JsonParseResult.FailureReason
- prependBreadcrumb(Breadcrumb) - Method in interface gov.nasa.jpl.aerie.json.JsonParseResult
-
Prepends the given breadcrumb if the result is a failure.
- productP - Static variable in class gov.nasa.jpl.aerie.json.BasicParsers
- productP - Static variable in class gov.nasa.jpl.aerie.json.ProductParsers
- ProductParsers - Class in gov.nasa.jpl.aerie.json
- ProductParsers.EmptyProductParser - Class in gov.nasa.jpl.aerie.json
- ProductParsers.VariadicProductParser<T> - Class in gov.nasa.jpl.aerie.json
R
- reason() - Method in record class gov.nasa.jpl.aerie.json.JsonParseResult.Failure
-
Returns the value of the
reasonrecord component. - reason() - Method in record class gov.nasa.jpl.aerie.json.JsonParseResult.FailureReason
-
Returns the value of the
reasonrecord component. - recursiveP(Function<JsonParser<S>, JsonParser<S>>) - Static method in class gov.nasa.jpl.aerie.json.BasicParsers
- rest() - Method in class gov.nasa.jpl.aerie.json.ProductParsers.EmptyProductParser
- rest() - Method in class gov.nasa.jpl.aerie.json.ProductParsers.VariadicProductParser
- result() - Method in record class gov.nasa.jpl.aerie.json.JsonParseResult.Success
-
Returns the value of the
resultrecord component.
S
- SchemaCache - Class in gov.nasa.jpl.aerie.json
- SchemaCache() - Constructor for class gov.nasa.jpl.aerie.json.SchemaCache
- stringP - Static variable in class gov.nasa.jpl.aerie.json.BasicParsers
- success(T) - Static method in interface gov.nasa.jpl.aerie.json.JsonParseResult
- Success(T) - Constructor for record class gov.nasa.jpl.aerie.json.JsonParseResult.Success
-
Creates an instance of a
Successrecord class. - sumP(String, Class<T>, List<SumParsers.Variant<? extends T>>) - Static method in class gov.nasa.jpl.aerie.json.SumParsers
- SumParsers - Class in gov.nasa.jpl.aerie.json
- SumParsers.Variant<T> - Record Class in gov.nasa.jpl.aerie.json
T
- tag() - Method in record class gov.nasa.jpl.aerie.json.SumParsers.Variant
-
Returns the value of the
tagrecord component. - to(T) - Method in interface gov.nasa.jpl.aerie.json.Convert
-
Converts a value backward to the source type from the target type.
- toString() - Method in record class gov.nasa.jpl.aerie.json.JsonParseResult.Failure
-
Returns a string representation of this record class.
- toString() - Method in record class gov.nasa.jpl.aerie.json.JsonParseResult.FailureReason
-
Returns a string representation of this record class.
- toString() - Method in record class gov.nasa.jpl.aerie.json.JsonParseResult.Success
-
Returns a string representation of this record class.
- toString() - Method in record class gov.nasa.jpl.aerie.json.SumParsers.Variant
-
Returns a string representation of this record class.
- tuple(T1) - Static method in class gov.nasa.jpl.aerie.json.Uncurry
- tuple(T1, T2) - Static method in class gov.nasa.jpl.aerie.json.Uncurry
- tuple(T1, T2, T3) - Static method in class gov.nasa.jpl.aerie.json.Uncurry
- tuple(T1, T2, T3, T4) - Static method in class gov.nasa.jpl.aerie.json.Uncurry
- tuple(T1, T2, T3, T4, T5) - Static method in class gov.nasa.jpl.aerie.json.Uncurry
- tuple(T1, T2, T3, T4, T5, T6) - Static method in class gov.nasa.jpl.aerie.json.Uncurry
- tuple(T1, T2, T3, T4, T5, T6, T7) - Static method in class gov.nasa.jpl.aerie.json.Uncurry
- tuple(T1, T2, T3, T4, T5, T6, T7, T8) - Static method in class gov.nasa.jpl.aerie.json.Uncurry
- tuple(T1, T2, T3, T4, T5, T6, T7, T8, T9) - Static method in class gov.nasa.jpl.aerie.json.Uncurry
U
- Uncurry - Class in gov.nasa.jpl.aerie.json
-
A set of utility functions for transforming the fields of an object parser.
- Uncurry.Function3<Result,
T1, - Interface in gov.nasa.jpl.aerie.jsonT2, T3> - Uncurry.Function4<Result,
T1, - Interface in gov.nasa.jpl.aerie.jsonT2, T3, T4> - Uncurry.Function5<Result,
T1, - Interface in gov.nasa.jpl.aerie.jsonT2, T3, T4, T5> - Uncurry.Function6<Result,
T1, - Interface in gov.nasa.jpl.aerie.jsonT2, T3, T4, T5, T6> - Uncurry.Function7<Result,
T1, - Interface in gov.nasa.jpl.aerie.jsonT2, T3, T4, T5, T6, T7> - Uncurry.Function8<Result,
T1, - Interface in gov.nasa.jpl.aerie.jsonT2, T3, T4, T5, T6, T7, T8> - Uncurry.Function9<Result,
T1, - Interface in gov.nasa.jpl.aerie.jsonT2, T3, T4, T5, T6, T7, T8, T9> - Unit - Enum Class in gov.nasa.jpl.aerie.json
-
A type with only one non-null value.
- UNIT - Enum constant in enum class gov.nasa.jpl.aerie.json.Unit
- unparse(Unit) - Method in class gov.nasa.jpl.aerie.json.ProductParsers.EmptyProductParser
- unparse(Path) - Method in class gov.nasa.jpl.aerie.json.PathJsonParser
- unparse(T) - Method in interface gov.nasa.jpl.aerie.json.JsonObjectParser
- unparse(T) - Method in interface gov.nasa.jpl.aerie.json.JsonParser
-
Produces a JSON document representing the given value.
- unparse(T) - Method in class gov.nasa.jpl.aerie.json.ProductParsers.VariadicProductParser
- untuple(Uncurry.Function3<Result, T1, T2, T3>) - Static method in class gov.nasa.jpl.aerie.json.Uncurry
- untuple(Uncurry.Function4<Result, T1, T2, T3, T4>) - Static method in class gov.nasa.jpl.aerie.json.Uncurry
- untuple(Uncurry.Function5<Result, T1, T2, T3, T4, T5>) - Static method in class gov.nasa.jpl.aerie.json.Uncurry
- untuple(Uncurry.Function6<Result, T1, T2, T3, T4, T5, T6>) - Static method in class gov.nasa.jpl.aerie.json.Uncurry
- untuple(Uncurry.Function7<Result, T1, T2, T3, T4, T5, T6, T7>) - Static method in class gov.nasa.jpl.aerie.json.Uncurry
- untuple(Uncurry.Function8<Result, T1, T2, T3, T4, T5, T6, T7, T8>) - Static method in class gov.nasa.jpl.aerie.json.Uncurry
- untuple(Uncurry.Function9<Result, T1, T2, T3, T4, T5, T6, T7, T8, T9>) - Static method in class gov.nasa.jpl.aerie.json.Uncurry
- untuple(BiFunction<T1, T2, Result>) - Static method in class gov.nasa.jpl.aerie.json.Uncurry
- untuple(Function<T1, Result>) - Static method in class gov.nasa.jpl.aerie.json.Uncurry
V
- valueOf(String) - Static method in enum class gov.nasa.jpl.aerie.json.Unit
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class gov.nasa.jpl.aerie.json.Unit
-
Returns an array containing the constants of this enum class, in the order they are declared.
- variant(String, Class<T>, JsonObjectParser<T>) - Static method in class gov.nasa.jpl.aerie.json.SumParsers
- Variant(String, Class<T>, JsonObjectParser<T>) - Constructor for record class gov.nasa.jpl.aerie.json.SumParsers.Variant
-
Creates an instance of a
Variantrecord class. - visit(Breadcrumb.BreadcrumbVisitor<Result>) - Method in class gov.nasa.jpl.aerie.json.Breadcrumb
All Classes and Interfaces|All Packages