Skip to content

Not compatible with aeson > 2.0.0.0 #519

Description

@bogdan-manole

There is no more Data.Aeson.Parser module starting with version aeson-2.0.0.0 and no json' either.
When the library is built with aeson flag and aeson > 2.0.0.0 the building will fail with:

 > Network/HTTP/Simple.hs:106:1: error:
 >     Could not find module Data.Aeson.Parser
 >     Use -v (or `:set -v` in ghci) to see a list of the files searched for.
 >     |
 > 106 | import Data.Aeson.Parser (json')

https://github.com/snoyberg/http-client/blob/f4f76f4fd72f227074d8635c244ea0b3b61c7163/http-conduit/Network/HTTP/Simple.hs#L106C1-L106C1

UPDATE: I see there is the dependency of attoparsec-aeson which has that implementation of Data.Aeson.Parser module, though I don't know why is not taken into consideration in my build set

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions