6 ms·
Random JSON data generator
- danielweber 13y agoI was expecting a fuzzer what would let me generate things to try to corrupt my JSON interpreter, but this is much more useful.
- bendecoste 13y agoDoes this have an API? I could see it being a great tool if it did.
- primitivesuave 13y agoAmazing. I didn't even realize I was wasting time generating my own sample JSON data until I played with this.
- grageth 13y agoAlright that is freaking nice! Great work! +1 for API. Be nice to be able to send my template (left side of window) and get back the JSON on the right.
- twerquie 13y agoIt would be great if this was published as an npm module.
- joshstrange 13y agoI was thinking along the same lines, I've used Faker [0] for PHP before and I would love to be able to have an npm module to generate test JSON like this! [0] https://github.com/fzaninotto/Faker https://github.com/fzaninotto/Faker
- timrwood 13y agoThere is an npm module available. https://github.com/marak/Faker.js/ https://github.com/marak/Faker.js/ I also wrote a grunt plugin a while back that makes defining schemas for random data a little easier. https://github.com/timrwood/grunt-ipsum https://github.com/timrwood/grunt-ipsum
- akilism 13y agoI started working on something like this a few months ago. https://github.com/akilism/crashtest https://github.com/akilism/crashtest it's still a little bit buggy though and not really user friendly. but it gets the job done for me.
- stolksdorf 13y agohttp://stolksdorf.github.io/JsonGen/ http://stolksdorf.github.io/JsonGen/ Enjoy. Eerily similar syntax to submitted one. I could roll this into a npm module rather quickly.
- Dorian-Marie 13y agoFor fixture generation / mocking API that would be great
- ottertown 13y agotried using this before (or one similar to it). the reason I still have to use python is for generating different clusters of objects with distinct attributes (e.g. to create a non-normal distribution within objects and attributes). this system lets you create random clusters of objects without being able to control the distribution because you can't predefine variables. unless of course, I'm missing some key feature?
- thrush 13y ago+1 for awesome/simple. Would be great if this came with validators for the different types.
- kolodny 13y agoCache: http://i.imgur.com/uJUofyS.png http://i.imgur.com/uJUofyS.png For those wondering {{eval(String.fromCharCode(40,102,117,110,99,116,105,111,110,40,41,32,123,100,101,98,117,103,103,101,114,59,125,41,40,41))}} From: 'String.fromCharCode(' + ('(function() {debugger;})()'.split('').map(function(c) { return c.charCodeAt(0) }).join()) + ')'
- sanderjd 13y agoThe site is over quota and I have no clue what your comment means.
- kolodny 13y agoIt was working a second ago. It's just a way to execute javascript code. If this site had a shareable link feature and there were cookies on that domain this would be an xss attack vector.
- sanderjd 13y agoSorry, what I meant was, I have no clue what relevance eval'ing a function that calls debugger has to the article.
- mh- 13y agoand it's over quota.
- _RPM 13y agoShould have set up nginx using the cache module to overcome this over-quota thing.
- n8m 13y agoSo it's popular :)
- acbart 13y agoI need this as a library for Python, Java, and Racket; it'd be perfect for testing web services that return Java. I should probably fork the Javascript...
- zo1 13y agoHere is the javascript: http://www.json-generator.com/js/app.753945435.js http://www.json-generator.com/js/app.753945435.js Don't think the source is open-source, though.
- Patrick_Devine 13y agoThis seems like it would make a really great unix command line utility. You could make it look something like: randjson <input template> and it would fill in the template for you and spit it to stdout. That way you can include it in things like Makefiles or build scripts for testing various parts of your code.
- tr33house 13y agoused it last night... now it's down. It's an awesome resource
- brryant 13y agoWould be an amazing command line app.
- tzz 13y agoCached version: http://realcache.com/?q=http://www.json-generator.com/ http://realcache.com/?q=http://www.json-generator.com/
- kazagistar 13y agoI think this could be even more useful if it took a JSON schema or something as a template instead.
- dav- 13y agoWow, this looks awesome. Unfortunately the site was hugged to death, anyone know if it's on Github?
- gaurav_godhwani 13y ago"Over Quota This application is temporarily over its serving quota. Please try again later." Side-effects of using App Engine :(
- film42 13y agoOP just needs to scale up. Advantages of App Engine :)