Unique identifier that can be used to register or retrieve a specific API.
Example: mendix.EditorsAPI, mycompany.MyFunkyAPI
Adds a new JSON structure to the specified container. If the structure contains a JSON snippet, its elements are automatically initialized.
The ID of the container where the JSON structure will be added. It could be a module or folder.
Optionaloptions: AddJsonStructureOptionsOptions that specify how the JSON structure will be initialized. Includes an optional name and a jsonSnippet
string from which the structure elements are automatically derived.
A promise that resolves to the newly created JSON structure.
Optionaloptions: JsonStructureCreationOptionsGets the structure elements of the specified JSON structure.
The ID of the JSON structure to retrieve elements from.
A promise that resolves to the structure elements, or a failure result if the elements could not be retrieved.
API for working with JSON structure documents.
A JSON structure captures the shape of a JSON message and acts as the schema source for import and export mappings. Use this API to create JSON structure documents — optionally seeding them from a JSON snippet so that elements are automatically derived — and to inspect the resulting element tree. The elements returned by IJsonStructureModelApi.getElements can then be referenced when configuring a mapping via IImportMappingModelApi or IExportMappingModelApi.