Package | Description |
---|---|
manifold.api.json | |
manifold.api.json.codegen | |
manifold.api.json.codegen.schema |
Modifier and Type | Method and Description |
---|---|
IJsonParentType |
JsonModel.getType() |
Modifier and Type | Class and Description |
---|---|
class |
ErrantType |
class |
JsonListType |
class |
JsonStructureType
The main JSON type reflecting name/value pair bindings.
|
Modifier and Type | Method and Description |
---|---|
IJsonParentType |
JsonBasicType.getParent() |
IJsonParentType |
DynamicType.getParent() |
IJsonParentType |
IJsonType.getParent() |
Modifier and Type | Method and Description |
---|---|
Map<String,IJsonParentType> |
JsonListType.getInnerTypes() |
Map<String,IJsonParentType> |
JsonStructureType.getInnerTypes() |
Modifier and Type | Method and Description |
---|---|
void |
JsonListType.addChild(String name,
IJsonParentType type) |
void |
JsonStructureType.addChild(String name,
IJsonParentType type) |
void |
IJsonParentType.addChild(String name,
IJsonParentType child) |
Modifier and Type | Class and Description |
---|---|
class |
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. |
class |
JsonSchemaType
The base JSON Schema type.
|
class |
JsonUnionType |
Modifier and Type | Method and Description |
---|---|
IJsonParentType |
JsonFormatType.getParent()
Format types never have a parent.
|
IJsonParentType |
LazyRefJsonType.getParent() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
JsonSchemaType.mergeInnerTypes(IJsonParentType other,
IJsonParentType mergedType,
Map<String,IJsonParentType> innerTypes) |
void |
JsonSchemaType.setParent(IJsonParentType parent) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
JsonSchemaType.mergeInnerTypes(IJsonParentType other,
IJsonParentType mergedType,
Map<String,IJsonParentType> innerTypes) |
Copyright © 2024. All rights reserved.