JSON
Mock JSON Generator
Tạo dữ liệu JSON giả dựa trên mẫu: giá trị placeholder như {{name}} hoặc {{email}}, và mảng được lặp lại qua "khóa|N".
Placeholder: {{uuid}} {{name}} {{firstName}} {{lastName}} {{email}} {{phone}} {{number(1,100)}} {{float(0,1)}} {{boolean}} {{date(2020,2024)}} {{datetime}} {{word}} {{sentence}} {{paragraph}} {{city}} {{country}} {{company}} {{color}} {{index}} · mảng: "khóa|N": [mẫu] — lặp lại N lần.
Câu hỏi thường gặp
What is a mock data generator useful for?
Quickly building test fixtures or sample API responses without manually inventing values — handy for frontend development, tests, or demos when real data is not yet available.
How do I generate an array with multiple records?
Use the "key|N": [template] syntax — the template inside the array is repeated N times, and each repetition generates fresh random values for the placeholders.
Can placeholders take parameters?
Yes, placeholders like {{number(1,100)}} or {{date(2020,2024)}} accept a range in parentheses — generation happens entirely in your browser via JavaScript, with no server involved.