Well, my issue is that I am ok with pulling data from my HTML form but it is serialized. I've been following this guide:
https://www.learnwithjason.dev/blog/get-form-values-as-json
The structure of the json I want to send is this: { fullname: string, items[{ fruit: string,Category: string}]}
I get this instead : { fullname: string, fruit: string,Category: string }
Is there a simple way to group form inputs from the HTML so it could just be extracted and converted to give out a JSON output like that?.