如何在openoffice calc中创建层次结构

时间:2018-08-24 10:08:18

标签: json csv spreadsheet openoffice-calc

我需要将其转换为csv然后是json,我的问题是我需要添加子数据,例如“ p”字段包含两个子

[
  {
    "name": "apple",
    "descrption": "apple is good",
    "images": "apple",
    "main": "vegetavles",
    "mid": "apple",
    "sub": "otty",
    "p": {
      "0": {
        "unite2": "1kg",
        "price2": 80
      },
      "1": {
        "unite2": "2kg",
        "price2": 120
      }
    }
  },

]

如何在openoffice calc中进行操作?
现在就是这样

enter image description here

0 个答案:

没有答案