method default.prototype.toJSONimport { default } from "https://deno.land/std@0.63.0/node/buffer.ts"; toJSON(): objectReturns a JSON representation of buf. JSON.stringify() implicitly calls this function when stringifying a Buffer instance. Returnsobject