@@ -78,25 +78,25 @@ find get base =
7878
7979-- Find a string value in an Elm Json object. If the key is not found or the
8080-- value found is not a string, this returns the empty string.
81−findString : String -> Dict String Value -> String
81+findString : String -> Object -> String
8282findString = find string ""
8383
8484-- Find a number value in an Elm Json object. If the key is not found or the
8585-- value found is not a number, this returns 0
86−findNumber : String -> Dict String Value -> Float
86+findNumber : String -> Object -> Float
8787findNumber = find number 0
8888
8989-- Find a boolean value in an Elm Json object. If the key is not found or the
9090-- value found is not a boolean, this returns the False.
91−findBoolean : String -> Dict String Value -> Bool
91+findBoolean : String -> Object -> Bool
9292findBoolean = find boolean False
9393
9494-- Find an array value in an Elm Json object. If the key is not found or the
9595-- value found is not an array, this returns an empty list.
96−findArray : String -> Dict String Value -> [Value]
96+findArray : String -> Object -> [Value]
9797findArray = find array []
9898
9999-- Find an object value in an Elm Json object. If the key is not found or the
100100-- value found is not an object, this returns an empty object.
101−findObject : String -> Dict String Value -> Dict String Value
101+findObject : String -> Object -> Object
102102findObject = find object Dict.empty