Hi Jan,
Let me try to go in parts here, as there are several questions.
Regarding crashes with the api, that is getting better with each epc, i actually applied the new epc150070 now and looks more stable. In older epcs, i got used to make changes in the api definition, then save, sometimes even exit the program, before going to work in the source.
Now... How dynamic is that nested array? Meaning, you can define nested arrays in the api definition, you dont need to use all the nested levels all the time. But you cannot create them dynamically in the api definition. (For that what you are doing which is creating a json field from scratch makes more sense).
Talking about nesting, for example, you could have an structure like department/section/employee/ and for each employee, you could have skills and/or cars. not every department need to have section with employees, neither each employee need to have skills or cars. (well, they surely need skills but that is a different subject).
If you want to define an structure like that, you can define in the schema section, different types, similar as how the template implements that, using an array and an object and playing with the reference.
Then each Array will be type array and will have items. the item in the array, will be a reference to the object.
Then each object will be type object and the properties of the object will be the fields you need in that object.
If you want to nest, a property in an object can also be a reference to another array.

- nesting.png (60.75 KiB) Viewed 22128 times