method StreamBase.prototype.toJSONimport { StreamBase } from "https://deno.land/x/rimbu@1.0.2/stream/custom/index.ts"; toJSON(): ToJSON<T[], "Stream">ReturnsToJSON<T[], "Stream">