krisajenkins/elm-exts/12.3.1

NOTE: this package is not compatible with Elm 0.19.1

Exts.Json.Encode

Extensions to the core Json Encode library.

set : (comparable -> Value) -> Set comparable -> Value

Encode a set to a JSON array .

dict : (comparable -> Value) -> (v -> Value) -> Dict comparable v -> Value

Encode a dict to a JSON array .

tuple2 : (a -> Value) -> (b -> Value) -> ( a, b ) -> Value

Encode a 2-tuple to a JSON array .