Package | Description |
---|---|
manifold.api.json | |
manifold.api.json.codegen | |
manifold.api.json.codegen.schema |
Class and Description |
---|
IllegalSchemaTypeName |
JsonSchemaType
The base JSON Schema type.
|
Class and Description |
---|
JsonEnumType
Transform JSON Schema enum to Java enum:
"enum": ["blue", "green", 5, 4.0]
enum Foo implements IBindingType {
blue("blue"),
green("green"),
_5(5),
_4_0(4.0);
private final Object _value;
Foo(Object value) {
_value = value;
}
@Override
public Object toBindingValue() {
return _value;
}
}
When calling
myObj.setFoo(MyObj.Foo.blue) the JSON manifold marshals the value corresponding with
the Java enum const so that the JSON bindings always contains JSON values. |
JsonSchemaType
The base JSON Schema type.
|
Type |
TypeAttributes
TypeAttributes contains attributes that "decorate" a type.
|
Class and Description |
---|
JsonEnumType
Transform JSON Schema enum to Java enum:
"enum": ["blue", "green", 5, 4.0]
enum Foo implements IBindingType {
blue("blue"),
green("green"),
_5(5),
_4_0(4.0);
private final Object _value;
Foo(Object value) {
_value = value;
}
@Override
public Object toBindingValue() {
return _value;
}
}
When calling
myObj.setFoo(MyObj.Foo.blue) the JSON manifold marshals the value corresponding with
the Java enum const so that the JSON bindings always contains JSON values. |
JsonFormatType
This type facilitates mapping a Java type to a JSON
"format" type such as "date-time . |
JsonSchemaTransformerSession
Manages a cache of base types per URL for a given Json parser/transformer session.
|
JsonSchemaType
The base JSON Schema type.
|
JsonUnionType |
LazyRefJsonType |
Type |
TypeAttributes
TypeAttributes contains attributes that "decorate" a type.
|
Copyright © 2024. All rights reserved.