我正在从一个大型数据导出API中获取数据,并需要更好地过滤数据。目前,以下是我所看到的示例。
{
AA-Short: "information",
AA-Long: "more information",
AA-Extra: "even more information",
BB-Short: "information",
BB-Long: "more information",
BB-Extra: "even more information",
}
我正在尝试制作这个:
{
AA: {
AA-Short: "information",
AA-Long: "more information",
AA-Extra: "even more information"
},
BB: {
BB-Short: "information",
BB-Long: "more information",
BB-Extra: "even more information"
}
}