array
ContentGenerate random arrays of mixed values. For array column testing, list field seeding, and multi-value field validation.
Example Outputs
["item1", "item2", "item3"]API Usage
Send a POST request to generate array data:
curl -X POST https://mockhero.dev/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tables": [
{
"name": "example",
"count": 5,
"fields": [
{
"name": "array",
"type": "array"
}
]
}
]
}'Common Use Cases
- Array column testing
- Multi-select fields
- Tag lists
- JSON array fields
Quick Info
- Field Type
- array
- Category
- Content
- Parameters
- None required
- Output Format
- JSON, CSV, SQL
Generate Array + 155 more types via API
One API call. Multiple tables. Relational integrity. Free tier included.