1 comment

[ 2.8 ms ] story [ 14.5 ms ] thread
Hey HN! Two days ago NickBa shared his wonderful project "jsongenerator.io" on here, which allows you to generate JSON data by providing a JSON schema. I really enjoyed the idea but thought the UI was a bit lacking. I also thought there are more possible blocks people should be able to use, as well as string concatenation (think "[url]/assets/[uuid].png").

This project is an alternative version of that other project, completely open source. It is also usable as a PWA if you dig that, you can also save and load your schema files for sharing between team members. Most of FakerJS value types are available as well as a loop function to repeat a certain object in an array and an enum function for a random value (think "active", "inactive", "banned").