Exporting an API response to a spreadsheet
An API returns users with different fields — one has a city, another does not. The converter builds the column set from all keys (name, age, city), emits an empty cell where city is missing, and quotes the cell containing a comma. The result opens directly in spreadsheet software.
| Input | Value |
|---|---|
| json | [{"name":"Alice","age":"30","city":"Paris"},{"name":"Bob","age":"25"}] |
| Result | name,age,city Alice,30,Paris Bob,25, |