danyx23 / elm-uuid

Generate and parse UUIDs in Elm
BSD 3-Clause "New" or "Revised" License
48 stars 13 forks source link

Add Json encoder and decoder #9

Closed pukkamustard closed 7 years ago

pukkamustard commented 7 years ago

Encoding and decoding to/from Json can be done pretty straightforwardly with the toString and fromString functions. However when embedding into much larger decoders/encoders it would be nice to have the functionality of decoding/encoding the Uuid's right in the module.

cjduncana commented 7 years ago

Is this PR being reviewed? It seems to be in order, and I would like this functions to be available.

danyx23 commented 7 years ago

Yes, this is a straightforward case. Sorry for missing that pull request in January!