The first column in each sheet will be hidden and it will contain an entry in each row that needs special
The first column in each sheet will be hidden and it will contain an entry in each row that needs
treatment. The following values are used:
special treatment. The following values are used:
``COL_TYPE``: typically the first row. It indicates the row that defines the type of columns (``FOREIGN`` or ``VALUE``).
``PATH``: indicates that the row is used to define the path within the JSON
- ``IGNORE``: This row is ignored. It can be used for explanatory texts or layout.
``IGNROE``: row is ignored; It can be used for explanatory texts or layout
- ``COL_TYPE``: Typically the first row that is not `IGNORE`. It indicates the row that defines the
type of columns (`FOREIGN`, `SCALAR`, `LIST`, `IGNORE`). This row may occur only once.
If we want to put the value of a given cell into the JSON, we traverse all path elements given in rows with the ``PATH`` value from row with lowest index to the one with the highest index. The final element of the path is the name of the Property of which the value
- ``PATH``: Indicates that the row is used to define the path within the JSON. These rows are
needs to be set. The elements of the path are sufficient to identify the object within the JSON if the value of the corresponding key is
typically hidden for users.
an object. If the value is an array, the appropriate object within the array needs to be selected.
For this selection additional ``FOREIGN`` columns are used. The path given in those columns is the path to the level where the object needs to be chosen plus the name of the attribute that is used to select the correct object.
An example table could look like this:
| `IGNORE` | | Welcome | to this | file! | |
| `IGNORE` | | Please | enter your | data here: | |