Skip to main content
Skip table of contents

JSON

The JSON document component includes JSON documents into the process.


Properties

Document

Path to the linked JSON file in the repository

Label

Label of the symbol within the process diagram

Operation

Determines if the file is read or written

Possible values:

  • Read: read file into the process and pass data to the next process step (default)

  • Write: save file with the data from the previous process step

Type

Defines the type of the file

The file type has no effect on the process execution, it contains meta information of the component.

Hinweis:

The Resource type can only be set if the file is located in the Resources folder.

For files in the TemporaryFiles folder, only the Buffer type can be set.

Possible values:

  • Resource: File as a fix component of the final process, which can be read with the Read operation, for example. 
    Possible use cases: The JSON document component can be used as static configuration file or in a static SQL statement.

  • Buffer (default): This setting is for test purposes and should not be used in a productive environment. A warning message is therefore displayed in the Problems view.


Creating a JSON Document

JSON documents can be created within an ESB project in the Resources folder (for resources) and in the TemporaryFiles folder (for buffer files). Different options are available for this purpose:

  • via the Project > Add JSON Document menu
  • via the New > JSON Document context menu
  • via the New > Add JSON Document menu

To create a JSON document, do the following:

  1. Within the ESB project, right-click on the folder to access the context menu.
  2. In the context menu, click New > JSON Document.
    A selection of available templates is displayed.
  3. Select a blank template or an existing template.

  4. In File Name, enter the file name.

  5. To create the JSON document, click Finish.
    The JSON document is created and opened in the JSON Editor 2.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.