JsonResponseText

@ApiStatus.Experimental
object JsonResponseText

Normalizes a JSON reply without extracting fragments or repairing its content.

Functions

Link copied to clipboard

Unwraps one Markdown fence covering the whole reply, with an optional json tag. Prose around a fence, other language tags and multiple or nested fences remain unchanged, so a strict JSON parser can reject them. The content is not otherwise trimmed or validated.