📜  Flutter 将 json 字符串转换为 json - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:27.057000             🧑  作者: Mango

代码示例1
flutter convert json string to json
----------------------
var x1 = '[{"id": "1"}]';
List x2 = jsonDecode(x1);
print(x2[0]);