I’d like to generate a JSON array where the number of entries is dependent on other data I’m generating. So far I’ve tried
- Entering a field name for the min/max values. (The site won’t let me do this).
- Using a formula on the JSON array (This simply prevents the JSON array from being generated).
I’ve now hit a brick wall. Does anyone have any suggestions?
1 Like
steve
2
Perhaps using a Dataset might get you closer. Can you share the link to the schema and the name of the field in question?
I am having the same problem. I tried use formula inside JSON array, but it is returning a error:
Json:
[{
“var”: 2,
“array”: “error: Access denied to method new.”,
}]
Code:
this = Array.new(var)
Error:
Access denied to method new.
Schema:
Mockaroo - Random Data Generator and API Mocking Tool | JSON / CSV / SQL / Excel
Do you guys have any idea how to proceed?