This tool allows you to generate random JSON files from a template.
You can generate multiple JSON files at the same time (exported to a single ZIP file).
Short user guide:
Fill in the editor "Your JSON template" and click on the "Generate" button.
The "JSON generated" editor will contain the result.
The editor contains only the first JSON file generated.
You can dowload the other JSON files below the editor.
You can also download a ZIP file containing all the generated JSON files.
You can see the user guide to help you to use this JSON Generator Online.
This tool allows to generate JSON data, and export the generated JSON files.
{ "{{firstname()}}": { "age": random(18, 100) } }
There are several reasons to generate dummy JSON files.
Thisdummy JSON generatorallows you to meet these needs, you cangenerate JSON fileswith a few clicks.
ThisJSON creatorallows togenerate jsonfiles. You can create complex JSON objects/arrays, with a tree structure of several levels. You can nest arrays inside objects, and vice versa.
You have many tags available to generate your data. Some are more complex than others to use. The editor is not very user friendly, but on the other hand you can generate complex data.
If you need to generate simple json objects (no tree or array), you can use ourCSV data generator(You must select the JSON format). It is easier to use, and provides an API.
This tool is currently in beta. Do not hesitate to make a comment in order to indicate the features which seem useful to you!
Comments
atom-2020-08-03 18:45
Cyril(Admin)-2020-08-03 21:43
[repeat( 100 , yourjsonhere )]
The result will then be in a single file.
quy-2021-09-05 05:19
I think you could mention it in the doc so others can see it.
satya-2020-10-23 00:19
Cyril (Admin)-2020-10-23 13:52
I reproduce! I am trying to correct this next week.
Cyril (admin)-2020-10-23 22:19
I added a message to indicate the number of files that remain to integrate in the archive.
Marcus-2020-11-13 20:21
something like
firstname(): {
"age": 30,
"single": randomBool()
}
Cyril (Admin)-2020-11-15 11:24
Cyril (Admin)-2020-11-27 21:41
You can read the User guide for implementation.
Ben Finkelstein-2021-02-17 05:04
{
"name": firstname() + " " + lastname(),
"email": city() + "@test.edu",
"year": choice("freshman", "sophomore", "junior", "senior"),
}
// this does produce expected output, however. But the exec functions don't seem to be documented
{
"name": exec_firstname() + " " + exec_lastname(),
"email": exec_city() + "@test.edu",
"year": choice("freshman", "sophomore", "junior", "senior"),
}
Cyril (Admin)-2022-02-15 21:32
priyanshu-2021-04-07 13:08
J-2021-10-19 06:12
I would like to be able to use the "index(0)" value in a string.
eg. "name": "JSON File #" + index(0).toSrting();
Thank you.
Cyril (admin)-2022-02-15 21:35