Dinamically generate JSON and form

So I was looking for an form-UI solution that, after an user filled it with data, it would automatically create a JSON and it seems that JSONForms is what I needed.
The only thing is that my JSON is not fixed.

Is it a thing that JSONFroms thake into consideration, to generate on-demand the JSON (mainly add specific repeated array item) and then, when the user is ok with that, generate the form for the user to fill it with the actual data


If I understand correctly then you are looking for a two-step process: A form generator and a form renderer.

JSON Forms is a form renderer. Of course you can also implement a form generator with JSON Forms but this does not come out of the box.

You can check the (relatively old and no longer maintained) JSON Forms editor or this recent community project for inspiration.