JSONデータの変換方法input.json〜output.json Pythonを使用していますか?一般に、JSONデータのフィルタリングにはどのようなデータ構造が使用されていますか?Pythonを使用してJSONデータをフィルタリングする方法は?
ファイル:
[
{
"id":1,
"a":22,
"b":11
},
{
"id":1,
"e":44,
"c":77,
"f":55,
"d":66
},
{
"id":3,
"b":11,
"a":22
},
{
"id":3,
"d":44,
"c":88
}
]
input.json
ファイル:
[
{
"id":1,
"a":22,
"b":11,
"e":44,
"c":77,
"f":55,
"d":66
},
{
"id":3,
"b":11,
"a":22,
"d":44,
"c":88
}
]
output.json任意のポインタをいただければ幸いです!
あなたは辞書をと考えていますか? :D – Adib