Source

aeson / Data / Aeson / Types / Internal.hs

Diff from to

Data/Aeson/Types/Internal.hs

 -- { 'fieldNameModifier'       = id
 -- , 'constructorNameModifier' = id
 -- , 'nullaryToString'         = True
--- , 'omitNothingFields'       = True
+-- , 'omitNothingFields'       = False
 -- , 'sumEncoding'             = 'defaultObjectWithType'
 -- }
 -- @
                  { fieldNameModifier       = id
                  , constructorNameModifier = id
                  , nullaryToString         = True
-                 , omitNothingFields       = True
+                 , omitNothingFields       = False
                  , sumEncoding             = defaultObjectWithType
                  }