将 JSON 数组转换为 CSV 格式,支持自定义分隔符、表头和引号选项
Accepts a JSON array of objects. Each object represents a row, and all unique keys across objects are used as column headers.
Choose between comma, semicolon, tab, or pipe delimiters to match your target application or regional formatting preferences.
When enabled, values containing the delimiter character, newlines, or double quotes are automatically wrapped in double quotes for proper CSV formatting.
Nested objects and arrays within JSON are serialized using JSON.stringify, preserving the data structure within the CSV cell.
[
{"name": "John", "age": 30, "city": "NYC"},
{"name": "Jane", "age": 25, "city": "LA"}
][
{"name": "Alice", "address": {"street": "123 Main", "zip": "10001"}},
{"name": "Bob", "address": {"street": "456 Oak", "zip": "90001"}}
][
{"product": "Laptop", "price": 999},
{"product": "Phone", "price": 699, "color": "black"}
]