You can check out https://surveyjs.io/ It's a set of client-side JavaScript libraries that generate and use JSON for form schemas and responses. They are open-source on GitHub, you can install them as npm packages to try them out in your own environment. And they also offer plenty of examples.