OMi*_*hah 11
这就像一个魅力。:)
String yourJson = '{"code": "0", "text": "hello world"}';
final object = json.decode(yourJson);
final prettyString = JsonEncoder.withIndent(' ').convert(object);
print(prettyString);
Run Code Online (Sandbox Code Playgroud)
输出:
| 归档时间: |
|
| 查看次数: |
3738 次 |
| 最近记录: |