Form to Edit JSON File

I’d like to create a Lovelace card where I can add different pieces (text input, number input, etc.) and then save the values entered to a JSON file.
So each time the submit button is hit in the card, it would create an object of each value entered and append that to the array in the JSON file.
Then I’d be able to read the file in other automations.

Is something like this even possible? It’s actually very similar to the Shopping List integration that already exists in the core part of Home Assistant?

Did you find something?