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.
Type in the editor "Your JSON template" your template. On the right side of the page, you have an "Available tags" section which shows you the available tags that you can use.
You can also use tag in a property name. The tag must be in a string, enclosed in double curly brackets. Example:
{ "{{firstname()}}": { "age": random(18, 100) } }
Below the editors, you can indicate the number of json files that you want to generate.
Click on the "generate" button to generate your json data.
The editor "JSON generated" only contains the first JSON file. The buttons "copy to clipboard" and "download" allows you to retrieve the first JSON file.
All the generated json files are available below the editors.
Sometimes it is necessary to have JSON data in order to make tests.
This dataset generator allows you to meet this need, you can generate JSON files with a few clicks.
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.
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"),
}