FakeMyJSON - Documentation
Welcome to the FakeMyJSON documentation for version 1.0. This documentation show the main features of FakeMyJSON and how you can customize your json for your special needs.
The main goal of FakeMyJSON is to take off as much work for you as possible. Your JSON scructure gets automatically analysed and for each data you get an faked dataset in the same datatype as your value before.

But sadly we cant provide for each possible data a 100% accurate fake data. In special cases you can manipulate the output by using one of the following "Faker Formatters". For generating the fake data the following library is used: Faker. Every Formatter mentioned in the readme of Faker can be used as a string value in your JSON.
Here is a copy of the Formatters of Faker with examples how to use in your JSON.
{
"id": "5e9b4f959aea8972c15d22ab",
"picture": "http://placehold.it/32x32",
"age": 30,
"name": "Cooke Valenzuela",
"gender": "male",
"company": "VERTIDE",
"email": "[email protected]",
"phone": "+1 (898) 424-2198",
"address": "744 Guider Avenue, Coloma, Pennsylvania, 7905",
"about": "Elit eu tempor duis non. Occaecat tempor tempor aliqua irure excepteur laboris ea velit consectetur voluptate. Elit labore qui labore reprehenderit exercitation tempor dolor pariatur. Sint reprehenderit voluptate qui aute anim fugiat. Enim eu cupidatat labore eiusmod cupidatat sit ex reprehenderit non sunt fugiat magna proident.\r\n",
"registered": "2016-08-28T07:26:48 -02:00",
"latitude": -78.663834,
"longitude": 132.975797,
"tags": [
"labore",
"amet",
"ad",
"laboris",
"qui",
"fugiat",
"nisi"
],
"friends": [
{
"id": 0,
"name": "Lizzie Spence"
},
{
"id": 1,
"name": "Gardner Buck"
},
{
"id": 2,
"name": "Nora Patel"
}
],
// Example Faker Formatters
"randomDigit": "randomDigit",
"randomDigitNotNull": "randomDigitNotNull",
"randomNumber": "randomNumber",
"numberBetween": "numberBetween(0,100)",
"word": "word",
"words": "words",
"title": "title",
"title_male": "titleMale",
"firstName": "firstName",
"lastName": "lastName",
"city": "city",
"streetName": "streetName",
"streetAddress": "streetAddress",
"postcode": "postcode",
"country": "country",
"jobTitle": "jobTitle",
"timestamp": "unixTime",
"html": "randomHTML",
"currencyCode": "currencyCode",
"image": "image",
"mime": "avi",
"ip": "127.0.0.1",
"shuffle": "shuffle(['1', '2', '3'])"
}
Last updated
Was this helpful?