PDF Mikata

巢狀 JSON 的注意事項

釋出日期:2026 年 10 月 19 日|最後更新:2026 年 10 月 19 日|關於(日文)

要點
  • 貼上
  • 確認

JSON from APIs and the like often has a "nested" form, where data contains further data. Here are cautions for converting nested JSON to CSV with Convert CSV and JSON.

步驟

  1. For "Direction", choose "JSON → CSV".
  2. Paste the JSON into "Before conversion".
  3. Press "Convert".
  4. Check "After conversion".
Nested parts go into a single cell as text. If needed, flatten the JSON first.

What nesting is

For example, data like this.

Inside "Address" are further items. That is nesting.

The result after conversion

CSV is a flat table. Nested parts cannot take a table form, so their content goes into a single cell as text.

Ways to flatten

How much to fix

Nested arrays (lists)

When one item holds several values (a list), it also goes into one cell as text. If you want rows split per list element, reshape first.

適合

示例

Converted order data JSON. The "products" item held a list of products and went into one cell as text. To total per product, reshaped it to one row per product first and converted again.

Common stumbling blocks

Frequently asked questions

Can nesting be expanded automatically?

This tool does not expand nesting. Reshape first.

小結

Nesting goes into one cell as text. If you want to total it, flatten first.

使用「CSV 與 JSON 互相轉換」(免費)

搭配使用的工具

如果這篇教程對你有幫助,一點小小的打賞會讓我們非常開心。

打賞(300 日元)贈送禮物(亞馬遜心願單)

此工具的更多教程

檢視全部教程