Show HN: Generate JSON mock data for testing/initial app development
jsongenerator.io
jsongenerator.io
It’s a bit like saying that every demo user should be called John Doe or Jane Doe if they aren’t actual people.
Could be a useful tool if this location data is coherent. State, City, Zip, Country and Lat/Lon are each of different places.
Email addresses, it uses first.last@$RANDOM.com, no country-specific.
The other struggle I have is that to properly test a DB, you need millions of rows, not thousands. Mine does quite well up through a few million, but then starts struggling. I need to overhaul the generator functions to use threading. I hadn’t initially because I assumed the CPU would be too busy to context switch, but then I tried a smaller example and found I was wrong - massive speed up.
"name": {
"first": "Shayna",
"middle": "Quinn",
"last": "Harris"
},
"username": "Burnice.Lehner27",
"password": "o7DioxYA810KFBR",
"emails": [
"Sabryna_Roberts13@hotmail.com",
"Stephen.Tremblay@gmail.com"
],https://json-generator.com/ https://www.objgen.com/json/local/design https://www.atatus.com/tools/json-generator https://www.site24x7.com/tools/json-generator.html
Not discounting the effort it takes to build a tool like this. It has, however, been done to death.
https://news.ycombinator.com/item?id=27252066
Personally, I think your demo has a pretty neat / novel UX. I couldn't find a way to generate a large number of examples at once -- did I miss that somewhere?
But as long as the first index in an array is repeat(), anything in the second index will repeat N amount of times.
It's very consistent at generating templated data.
* IP's (V4, V6) * Enums (maybe something like enum('active', 'inactive', 'removed').) * Texts (like blog titles or description fields)