Function: rewriteServingResponseBody()
rewriteServingResponseBody(
body):string
Parse, sanitize, and re-serialize a /serving-endpoints/... non-streaming
JSON RESPONSE body. Returns the original string verbatim when the body is
not JSON or no rewrite was needed, mirroring
rewriteServingBody on the request side.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string