diff --git a/CHANGELOG.md b/CHANGELOG.md index c947c18..bc84a67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ New features: Bugfixes: Other improvements: +* Fixed readme bug where `jsonParser` was imported from `Data.Argonaut.Core` instead of `Data.Argonaut.Parser` (#50 by @flip111) ## [v6.0.0](https://github.com/purescript-contrib/purescript-argonaut-core/releases/tag/v6.0.0) - 2021-02-26 diff --git a/README.md b/README.md index ecae0f7..3ccb2d1 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ someObject = Finally, you can parse JSON from a string using the `jsonParser` function. However, this isn't guaranteed to produce a correct value, so it returns an `Either` value, where a parsing error is represented with `Left` containing an error message. ```purs -import Data.Argonaut.Core (jsonParser) +import Data.Argonaut.Parser (jsonParser) import Data.Maybe (Maybe(..)) someObject :: Either String Json