Skip to main content
Module

x/web_bson/src/bson.ts>deserialize

web_bson is a fork from mongodb/js-bson
Very Popular
Go to Latest
function deserialize
import { deserialize } from "https://deno.land/x/web_bson@v0.2.4/src/bson.ts";

Deserialize data as BSON.

Parameters

buffer: Uint8Array | ArrayBuffer
  • the buffer containing the serialized set of BSON documents.
optional
options: DeserializeOptions = [UNSUPPORTED]

Returns

returns the deserialized Javascript Object.