@@ -78,25 +78,25 @@ find get base =
79-- Find a string value in an Elm Json object. If the key is not found or the
79-- Find a string value in an Elm Json object. If the key is not found or the
80-- value found is not a string, this returns the empty string.
80-- value found is not a string, this returns the empty string.
81−findString : String -> Dict String Value -> String
81+findString : String -> Object -> String
82findString = find string ""
82findString = find string ""
84-- Find a number value in an Elm Json object. If the key is not found or the
84-- Find a number value in an Elm Json object. If the key is not found or the
85-- value found is not a number, this returns 0
85-- value found is not a number, this returns 0
86−findNumber : String -> Dict String Value -> Float
86+findNumber : String -> Object -> Float
87findNumber = find number 0
87findNumber = find number 0
89-- Find a boolean value in an Elm Json object. If the key is not found or the
89-- Find a boolean value in an Elm Json object. If the key is not found or the
90-- value found is not a boolean, this returns the False.
90-- value found is not a boolean, this returns the False.
91−findBoolean : String -> Dict String Value -> Bool
91+findBoolean : String -> Object -> Bool
92findBoolean = find boolean False
92findBoolean = find boolean False
94-- Find an array value in an Elm Json object. If the key is not found or the
94-- Find an array value in an Elm Json object. If the key is not found or the
95-- value found is not an array, this returns an empty list.
95-- value found is not an array, this returns an empty list.
96−findArray : String -> Dict String Value -> [Value]
96+findArray : String -> Object -> [Value]
97findArray = find array []
97findArray = find array []
99-- Find an object value in an Elm Json object. If the key is not found or the
99-- Find an object value in an Elm Json object. If the key is not found or the
100-- value found is not an object, this returns an empty object.
100-- 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
102findObject = find object Dict.empty
102findObject = find object Dict.empty