androidjsonandroid-studioandroid-profiler

Can we format JSON response in Android Network Profiler panel?


I want to get formatted JSON response in Android Network Profiler rather than copy and paste to other tools to format JSON response.

Android Network Profiler is a convenient tool to inspect network traffic. But I can't read the response data immediately because our JSON data are shown in one line string.

Is there any way to get formatted JSON response in Android Network Profiler panel?


Solution

  • Well, the new version Android Studio 3.3 provides new feature View Parsed in the profiler.

    It can automatically format the response.

    More infomation see View formatted text for connection payloads in the Network profiler section.