Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/web_bson/src/bson.ts>UUID#toJSON

web_bson is a fork from mongodb/js-bson
Very Popular
Go to Latest
method UUID.prototype.toJSON
Re-export
import { UUID } from "https://deno.land/x/web_bson@v0.2.4/src/bson.ts";

Converts the id into its JSON string representation. A 36 character (dashes included) hex string in the format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Returns

string