Skip to content

Commit 8604e3b

Browse files
committed
fix text-short FromJSON withText typo
1 parent dedc4f5 commit 8604e3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/Aeson/Types/FromJSON.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1697,7 +1697,7 @@ instance FromJSONKey LT.Text where
16971697

16981698
-- | @since 2.0.2.0
16991699
instance FromJSON ST.ShortText where
1700-
parseJSON = withText "Lazy Text" $ pure . ST.fromText
1700+
parseJSON = withText "ShortText" $ pure . ST.fromText
17011701

17021702
-- | @since 2.0.2.0
17031703
instance FromJSONKey ST.ShortText where

0 commit comments

Comments
 (0)