npm xlsx任何可以将数据优化到json内部注入的方法

时间:2018-02-03 15:52:30

标签: angular typescript

我想在我的angular 4应用程序中将我的excel文件更改为json。 使用xlsx模块,但它只读取单个对象。我也想读内部对象。

我想以下面的json格式阅读此文件。任何人帮助我

{
 "quesitonEng":"ques....",
 options:{
      "opt1":"opt data...",
      "opt2":"opt data 2"
  }
}

但现在它只在单个对象中读取

having this type of questions and options

0 个答案:

没有答案