elm.Byte.mustache Maven / Gradle / Ivy
module Byte exposing (Byte, byteDecoder, byteEncoder)
import Json.Decode as Decode exposing (Decoder)
import Json.Encode as Encode
type alias Byte = String
byteDecoder : Decoder Byte
byteDecoder =
Decode.string
byteEncoder : Byte -> Encode.Value
byteEncoder model =
Encode.string model
© 2015 - 2024 Weber Informatics LLC | Privacy Policy