Highlighting
Functions
Link copied to clipboard
Applies ANSI color highlighting to a JsonElement for terminal output.
fun highlightBody(body: String, contentType: ContentType, useColor: Boolean = isColorSupported()): String
Applies ANSI color highlighting to an HTTP body string based on its content type.