We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Love this library its very handy. Thanks for creating it!
One suggestion is a means to use all the values in an array, basically a foreach.
It would be handy to populate dropdown lists, where random values don't make to much sense.
e.g. $.mockJSON.data.EMAILTYPES = ['Work', 'Travel', 'Mobile', 'Hotmail', 'Gmail', 'Emergency', 'Home'];
$.mockJSON(/getData:en/emailtypes/, { "data|each EMAILTYPES": [ { "id|+1": 0, "lang": "en", "text": "@EMAILTYPES", "value|+1": 0 } ], "status": { "err": 0, "msg": "" } } );
The text was updated successfully, but these errors were encountered:
Merge pull request mennovanslooten#2 from mikeedwards/added_query_string
7288347
added QUERY_STRING_ key and fixed line breaks to Unix style
No branches or pull requests
Love this library its very handy. Thanks for creating it!
One suggestion is a means to use all the values in an array, basically a foreach.
It would be handy to populate dropdown lists, where random values don't make to much sense.
e.g.
$.mockJSON.data.EMAILTYPES = ['Work', 'Travel', 'Mobile', 'Hotmail', 'Gmail', 'Emergency', 'Home'];
$.mockJSON(/getData:en/emailtypes/, {
"data|each EMAILTYPES": [
{
"id|+1": 0,
"lang": "en",
"text": "@EMAILTYPES",
"value|+1": 0
}
],
"status": {
"err": 0,
"msg": ""
}
}
);
The text was updated successfully, but these errors were encountered: