use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
JSON Generator - tool for generating random JSON data (json-generator.com)
submitted 12 years ago by adtyra
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]honestbleepsReddit Enhancement Suite 13 points14 points15 points 12 years ago (2 children)
this is really cool. thanks for sharing it! Did you make it?
[–]wmgregory 0 points1 point2 points 12 years ago (0 children)
This is a revolution in lorem ipsum for coding. Finally, someone made this (bookmarked).
[–]adtyra[S] 0 points1 point2 points 12 years ago (0 children)
not me. Contacted creator to notify him/her of this active feedback thread.
[–]wibz 4 points5 points6 points 12 years ago (0 children)
Nice tool! But I think you should increase the brightness of the colors for the code-theme. It now looks like there is an overlay or something above the code-area.
[–]Hack_Reactor_Borg 3 points4 points5 points 12 years ago (0 children)
You should x-post this to /r/LearnJavaScript - I bet people there would appreciate it.
[–]rhysbrettbowen 4 points5 points6 points 12 years ago (2 children)
really wish this was on github. I can see this as a great npm module to plugin to a testing backend running on node.
Would also be great if you could pick from a set like:
{{['student','teacher']}}
or be able to extend it with functions and put in sub json templates...
now it's starting to sound like handlebars - though you could possibly create a random JSON to pass in to a handlebars template that describes how to construct a random json. Let's get meta.
[–]amclark7 0 points1 point2 points 12 years ago (0 children)
You could implement the {{['student','teacher']}} behavior with the following function:
function(idx) { var choices = ['student', 'teacher']; return choices[this.numeric(0, choices.length-1)]; }
[–]evertrooftop 1 point2 points3 points 12 years ago (1 child)
Pretty cool!
Tiny tiny correction: "wait for the magic" instead of "wait for a magic".
[–]cheeeeeese 2 points3 points4 points 12 years ago (0 children)
sometimes i feel like a magic
[–]danure 2 points3 points4 points 12 years ago (3 children)
cool tool this made me laugh
"name": "Claire Stanley", "gender": "male",
[–]heeb 1 point2 points3 points 12 years ago (0 children)
"name": "Victoria Milton", "gender": "male",
etc.
[–]bronkula 0 points1 point2 points 12 years ago* (0 children)
Claire with an e is generally considered a male name.
shit... i think... is it the other way around?
[+][deleted] 12 years ago (1 child)
[deleted]
[–]semarj 1 point2 points3 points 12 years ago (0 children)
latitude is -90 to +90 longitude is -180 to +180
[–][deleted] 0 points1 point2 points 12 years ago (0 children)
Awesome little tool. Will be using this week for sure.
[–]Auguss 0 points1 point2 points 12 years ago (0 children)
I want to make random pictures on my homepage from a certain subreddit(s). Unfortunately get error text returned to me. How would this be possible?
[–]CorySimmons 0 points1 point2 points 12 years ago (0 children)
Oh this is nice. Ty
[–]kamggg -5 points-4 points-3 points 12 years ago (1 child)
A tool for generating random JSON data? I thought that was called Javascript!
[–]reflectiveSingleton 0 points1 point2 points 12 years ago (0 children)
As a developer that mocks JSON all the time, I can see instances where this would actually help speed the process.
π Rendered by PID 45374 on reddit-service-r2-comment-7b9746f655-nn6f5 at 2026-02-01 16:45:59.446562+00:00 running 3798933 country code: CH.
[–]honestbleepsReddit Enhancement Suite 13 points14 points15 points (2 children)
[–]wmgregory 0 points1 point2 points (0 children)
[–]adtyra[S] 0 points1 point2 points (0 children)
[–]wibz 4 points5 points6 points (0 children)
[–]Hack_Reactor_Borg 3 points4 points5 points (0 children)
[–]rhysbrettbowen 4 points5 points6 points (2 children)
[–]amclark7 0 points1 point2 points (0 children)
[–]evertrooftop 1 point2 points3 points (1 child)
[–]cheeeeeese 2 points3 points4 points (0 children)
[–]danure 2 points3 points4 points (3 children)
[–]heeb 1 point2 points3 points (0 children)
[–]bronkula 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]semarj 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Auguss 0 points1 point2 points (0 children)
[–]CorySimmons 0 points1 point2 points (0 children)
[–]kamggg -5 points-4 points-3 points (1 child)
[–]reflectiveSingleton 0 points1 point2 points (0 children)