method default.prototype.toJSONimport { default } from "https://deno.land/std@0.68.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>