Skip to content

Commit b296cb9

Browse files
authored
Merge pull request #937 from raehik/fix-text-short-fromjson-name
fix text-short FromJSON withText typo
2 parents dedc4f5 + 8604e3b commit b296cb9

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)