json-uuid-0.1.0.0: json + uuid-types
Safe HaskellNone
LanguageHaskell2010

Codec.JSON.Encoder.UUID

Description

Functions for encoding RFC 9562 UUIDs in RFC 8259 JSONs.

Synopsis

Documentation

uuid :: UUID -> Encoder Source #

Encode a UUID as a JSON string, in lower-case hexadecimal xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx format ("hex-and-dash"),