| Package | Description |
|---|---|
| manifold.api.json | |
| manifold.api.json.schema |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IJsonParentType |
| Modifier and Type | Class and Description |
|---|---|
class |
DynamicType |
class |
ErrantType |
class |
JsonListType |
class |
JsonSimpleType |
class |
JsonStructureType |
| Modifier and Type | Method and Description |
|---|---|
IJsonType |
JsonStructureType.findChild(String name) |
IJsonType |
JsonListType.findChild(String name) |
IJsonType |
IJsonParentType.findChild(String name) |
IJsonType |
JsonStructureType.findMemberType(String name) |
IJsonType |
JsonListType.getComponentType() |
static IJsonType |
Json.mergeTypes(IJsonType type1,
IJsonType type2) |
static IJsonType |
Json.mergeTypesNoUnion(IJsonType type1,
IJsonType type2) |
static IJsonType |
Json.transformJsonObject(IManifoldHost host,
String name,
JsonSchemaType parent,
Object jsonObj) |
static IJsonType |
Json.transformJsonObject(IManifoldHost host,
String name,
URL source,
JsonSchemaType parent,
Object jsonObj) |
| Modifier and Type | Method and Description |
|---|---|
default List<IJsonType> |
IJsonType.getDefinitions() |
Map<String,IJsonType> |
JsonStructureType.getMembers() |
List<IJsonType> |
JsonStructureType.getSuperTypes() |
| Modifier and Type | Method and Description |
|---|---|
void |
JsonStructureType.addMember(String name,
IJsonType type,
Token token) |
void |
JsonStructureType.addSuper(IJsonType superType) |
boolean |
JsonStructureType.equalsStructurally(IJsonType o) |
boolean |
JsonListType.equalsStructurally(IJsonType o) |
default boolean |
IJsonType.equalsStructurally(IJsonType type2)
JSon Schema types normally compare by identity, however for
some use-cases we still need to compare them structurally e.g.,
for merging types.
|
static IJsonType |
Json.mergeTypes(IJsonType type1,
IJsonType type2) |
static IJsonType |
Json.mergeTypesNoUnion(IJsonType type1,
IJsonType type2) |
void |
JsonListType.setComponentType(IJsonType compType) |
| Modifier and Type | Method and Description |
|---|---|
default void |
IJsonType.setDefinitions(List<IJsonType> definitions) |
| Modifier and Type | Class and Description |
|---|---|
class |
JsonSchemaType |
class |
JsonUnionType |
class |
LazyRefJsonType |
| Modifier and Type | Method and Description |
|---|---|
IJsonType |
JsonUnionType.merge(IJsonType type) |
IJsonType |
LazyRefJsonType.resolve() |
static IJsonType |
JsonSchemaTransformer.transform(IManifoldHost host,
String name,
Bindings docObj) |
static IJsonType |
JsonSchemaTransformer.transform(IManifoldHost host,
String name,
URL source,
Bindings docObj) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends IJsonType> |
JsonUnionType.getConstituents() |
List<IJsonType> |
LazyRefJsonType.getDefinitions() |
List<IJsonType> |
JsonSchemaType.getDefinitions() |
| Modifier and Type | Method and Description |
|---|---|
void |
JsonUnionType.addConstituent(String name,
IJsonType type) |
boolean |
LazyRefJsonType.equalsStructurally(IJsonType type2) |
IJsonType |
JsonUnionType.merge(IJsonType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
LazyRefJsonType.setDefinitions(List<IJsonType> definitions) |
void |
JsonSchemaType.setDefinitions(List<IJsonType> definitions) |
| Constructor and Description |
|---|
LazyRefJsonType(java.util.function.Supplier<IJsonType> supplier) |
Copyright © 2018. All rights reserved.