Skip to content

Commit 4902dbb

Browse files
authored
Merge pull request #540 from bos/unexpose-options
Unexpose Options constructor #523
2 parents 5b32124 + e0eb072 commit 4902dbb

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Data/Aeson/Types/Internal.hs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,16 @@ module Data.Aeson.Types.Internal
4949
, object
5050

5151
-- * Generic and TH encoding configuration
52-
, Options(..)
52+
, Options(
53+
fieldLabelModifier
54+
, constructorTagModifier
55+
, allNullaryToStringTag
56+
, omitNothingFields
57+
, sumEncoding
58+
, unwrapUnaryRecords
59+
, tagSingleConstructors
60+
)
61+
5362
, SumEncoding(..)
5463
, defaultOptions
5564
, defaultTaggedObject

0 commit comments

Comments
 (0)