【发布时间】:2018-12-26 06:46:22
【问题描述】:
我想在 Android Network Profiler 中获取格式化的 JSON 响应,而不是复制并粘贴到其他工具来格式化 JSON 响应。
Android Network Profiler 是检查网络流量的便捷工具。但我无法立即读取响应数据,因为我们的 JSON 数据显示在一行字符串中。
有没有办法在 Android Network Profiler 面板中获取格式化的 JSON 响应?
【问题讨论】:
-
在浏览器中打开此链接:jsonviewer.stack.hu。现在复制单行响应并粘贴到 Json 查看器中。
-
@Ali 我不想复制粘贴。
-
您想直接获得井格式吗? @HvSimon
-
@Ali 是的,Network Profiler 已经知道响应是内容类型的 JSON。为什么不直接格式化呢?
标签: android json android-studio android-profiler