Expose JSONPathElement constructors.
Enables the manual application of <?> to provide additional context for
decoders.
commit220fd9aa816fc306068de3825160a59d5df3c515
authorLuke Clifton <lukec@themk.net>
dateTue 13 Aug 2019, 10:27 (7 years ago)
parentbc4fa60
Data/Aeson/Types.hs+5
@@ -136,6 +136,11 @@ module Data.Aeson.Types
136136 , JSONKeyOptions
137137 , keyModifier
138138 , defaultJSONKeyOptions
139+
140+ -- * Parsing context
141+ , (<?>)
142+ , JSONPath
143+ , JSONPathElement(..)
139144 ) where
140145
141146import Prelude.Compat