簡體   English   中英

如何將此嵌套的 json 轉換為角度材料表

[英]How to convert this nested json to angular material table

https://www.chefx.in:4000/api/r/methoddetails

此鏈接包含 josn 數據,請讓我知道將其放入表格中,我正在學習 Angular 基礎知識

鏈接未打開使用JSON.Parse並將其分配給數據表。

你可以檢查一下。

let a = data (Your JSON Data)
let b = JSON.parse(a);
[dataSource]="b"   // assigning data to the table in angular material

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM