Version: NextparseValue CallableparseValue(body, contentTypeHeader): string | Buffer | ArrayBuffer | Record<string, unknown>Parses a Buffer or ArrayBuffer using the provided content type header. application/json is returned as a parsed object.application/xml and text/ are returned as strings.everything else is returned as original body. If the header includes a charset, the body will be stringified only if the charset represents a known encoding to Node.js or Browser. Backend-independent — this is the canonical read path for the KeyValueStore frontend.Parametersbody: string | ArrayBuffer | Buffer<ArrayBufferLike>contentTypeHeader: null | stringReturns string | Buffer | ArrayBuffer | Record<string, unknown>
Parses a Buffer or ArrayBuffer using the provided content type header.
If the header includes a charset, the body will be stringified only if the charset represents a known encoding to Node.js or Browser.
Backend-independent — this is the canonical read path for the KeyValueStore frontend.