Ionic:如何使用TypeScript查看JSON数据

时间:2017-06-29 20:47:34

标签: json typescript

我希望能够使用TypeScript通过HTML查看JSON数据。

我的文件夹是这样的:

  • 测试/的test.html
  • 测试/ test.ts
  • 测试/ test.json
{
  "animals": [ {
    "cat": "meow",
    "dog": "woof",
    "bird": "chirp"
  } ]  
}

0 个答案:

没有答案