Skip to content

Commit 027c567

Browse files
committed
Reexport Options fields and utilities in Data.Aeson
1 parent 61b889a commit 027c567

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Data/Aeson.hs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,22 @@ module Data.Aeson
8787
, genericLiftToEncoding
8888
, genericParseJSON
8989
, genericLiftParseJSON
90+
-- ** Generic and TH encoding configuration
91+
, Options
9092
, defaultOptions
93+
-- *** Options fields
94+
-- $optionsFields
95+
, fieldLabelModifier
96+
, constructorTagModifier
97+
, allNullaryToStringTag
98+
, omitNothingFields
99+
, sumEncoding
100+
, unwrapUnaryRecords
101+
, tagSingleConstructors
102+
-- *** Options utilities
103+
, SumEncoding(..)
104+
, camelTo2
105+
, defaultTaggedObject
91106

92107
-- * Inspecting @'Value's@
93108
, withObject

0 commit comments

Comments
 (0)