We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f11e33d commit bbb93dcCopy full SHA for bbb93dc
src/Database/InfluxDB/JSON.hs
@@ -53,7 +53,7 @@ import qualified Data.Vector as V
53
54
import Database.InfluxDB.Types
55
56
--- | Parse a JSON response with the 'lenientDecoder'. This can be useful to
+-- | Parse a JSON response with the 'strictDecoder'. This can be useful to
57
-- implement the 'Database.InfluxDB.Query.parseResults' method.
58
parseResultsWith
59
:: (Maybe Text -> HashMap Text Text -> Vector Text -> Array -> A.Parser a)
@@ -67,7 +67,7 @@ parseResultsWith
67
-- to construct a value.
68
-> Value
69
-> A.Parser (Vector a)
70
-parseResultsWith = parseResultsWithDecoder lenientDecoder
+parseResultsWith = parseResultsWithDecoder strictDecoder
71
72
-- | Parse a JSON response with the specified decoder settings.
73
parseResultsWithDecoder
0 commit comments