struct

UUID

Inherits Comparable / Struct / Value / Object

Represents a UUID (Universally Unique IDentifier).

NOTE: To use UUID, you must explicitly import it with require "uuid"

Instance methods

to_canonical_extjson(builder : JSON::Builder)

Serialize to a canonical extended json representation.

NOTE: see https://github.com/mongodb/specifications/blob/master/source/extended-json.rst

Source