Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: JSONMocker – generate JSON mock data by writing reusable JSON schemas (laurawebdev.github.io)
5 points by LauraMedia 11 months ago | hide | past | favorite | 1 comment



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").




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: