Created
March 17, 2020 09:58
-
-
Save KaQuMiQ/a1a9557acea34878c1c28f82665ee07a to your computer and use it in GitHub Desktop.
Swift LLDB pretty print json data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e print(String(data: JSONSerialization.data(withJSONObject: JSONSerialization.jsonObject(with: data, options: []), options: .prettyPrinted), encoding: .utf8)!) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To use in breakpoint with auto continue i.e. in callback from URLSession