TSFoster/elm-uuid/1.0.0

NOTE: the latest version is 4.3.1

UUID.Version4.Variant2

Variant 2 version 4 UUIDs provide 122 bits of randomness.

Generating

generator : Generator (UUID Version4 Variant2)

Generator for version 4 variant 2 UUIDs. See elm-random for more information on using Generators.

JSON

encode : UUID Version4 Variant2 -> Value

Encode a variant 2 version 4 UUID as a JSON string.

decoder : Decoder (UUID Version4 Variant2)

Decodes a UUID from a JSON string. Fails if UUID is not version 4 or variant 2.