method Buffer.prototype.toJSONimport { Buffer } from "https://deno.land/std@0.80.0/node/buffer.ts"; toJSON(): Record<string, unknown>Returns a JSON representation of buf. JSON.stringify() implicitly calls this function when stringifying a Buffer instance. ReturnsRecord<string, unknown>