JSON を CSV に変換

“JSON を CSV に変換” で定義されたデータ表現、形式、または単位間の変換を行います。

入力: 構造化 JSON結果: テキスト

テキスト入力

実行すると結果が表示されます

使用例

Array of arrays

入力

[["A","B","C","D","E","F"],["1","2","3","4","5","6"],[",",";","'","\"","",""],["\"hello\"","a\"1","multi\r\nline","","","end"]]

Expected answer

ABCDEF
123456
,;'"
"hello"a"1multi lineend
セル区切り
,
行区切り
Array of dictionaries

入力

[{"A":"1","B":"2","C":"3","D":"4","E":"5","F":"6"},{"A":",","B":";","C":"'","D":"\"","E":"","F":""},{"A":"\"hello\"","B":"a\"1","C":"multi\r\nline","D":"","E":"","F":"end"}]

Expected answer

ABCDEF
123456
,;'"
"hello"a"1multi lineend
セル区切り
,
行区切り
boolean and null as values

入力

{"a":false,"b":null,"c":3}

Expected answer

abc
falsenull3
セル区切り
,
行区切り
\r\n
empty JSON

入力

{}

Expected answer

セル区切り
,
行区切り
\r\n
empty JSON in array

入力

[{}]

Expected answer

セル区切り
,
行区切り
\r\n
JSON as an array

入力

[{"a":1,"b":"2","c":3}]

Expected answer

abc
123
セル区切り
,
行区切り
\r\n
multiple JSON values in an array

入力

[{"a":1,"b":"2","c":3},{"a":1,"b":"2","c":3}]

Expected answer

abc
123
123
セル区切り
,
行区切り
\r\n
nested array

入力

{"a":1,"b":[2,3]}

Expected answer

ab.0b.1
123
セル区切り
,
行区切り
\r\n
nested array, nested array

入力

{"a":1,"b":[[2,3]]}

Expected answer

ab.0.0b.0.1
123
セル区切り
,
行区切り
\r\n
nested array, nested JSON

入力

{"a":1,"b":[{"c":3,"d":4}]}

Expected answer

ab.0.cb.0.d
134
セル区切り
,
行区切り
\r\n

関連ツール

データ形式

操作の参考資料

元の技術文書を見る (English)