aboutsummaryrefslogtreecommitdiff
path: root/src/client/Utils/Json.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/Utils/Json.elm')
-rw-r--r--src/client/Utils/Json.elm12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/client/Utils/Json.elm b/src/client/Utils/Json.elm
deleted file mode 100644
index 29e815b..0000000
--- a/src/client/Utils/Json.elm
+++ /dev/null
@@ -1,12 +0,0 @@
-module Utils.Json exposing
- ( dictDecoder
- )
-
-import Json.Decode as Decode exposing (Decoder)
-import Dict exposing (Dict)
-
-dictDecoder : Decoder comparable -> Decoder a -> Decoder (Dict comparable a)
-dictDecoder keyDecoder valueDecoder =
- Decode.map2 (,) keyDecoder valueDecoder
- |> Decode.list
- |> Decode.map Dict.fromList