我有一个 n 维度乘以 n 的对象数组是未知的。这是数据的示例:
Data = [{"value":{"Id":"1","Text":"abcd","Parent":""},"children":[{"value":{"Id":"2","Text":"abcd","Parent":"1"},"children":[{"value":{"Id":"3","Text":"abcd","Parent":"1"},"children":[{"value":...
我想在所有这些数组中旅行以读取对象数据。我怎么能在javascript中做到这一点?