File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -865,15 +865,15 @@ ifromJSON = iparse parseJSON
865
865
(.:!) = explicitParseFieldMaybe' parseJSON
866
866
867
867
-- | Retrieve the value associated with the given key of an 'Object'.
868
- -- If the key is not present and the 'omittedField' is @'Just' x@ for some @x@,
868
+ -- If the key is not present or the field is @null@ and the 'omittedField' is @'Just' x@ for some @x@,
869
869
-- the result will be that @x@.
870
870
--
871
871
-- @since 2.2.0.0
872
872
(.:?=) :: (FromJSON a ) => Object -> Key -> Parser a
873
873
(.:?=) = explicitParseFieldOmit omittedField parseJSON
874
874
875
875
-- | Retrieve the value associated with the given key of an 'Object'.
876
- -- If the key is not present or the field is @null@ and the 'omittedField' is @'Just' x@ for some @x@,
876
+ -- If the key is not present and the 'omittedField' is @'Just' x@ for some @x@,
877
877
-- the result will be that @x@.
878
878
--
879
879
-- This differs from '.:?=' by attempting to parse 'Null' the same as any
You can’t perform that action at this time.
0 commit comments