Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Json support for basic types #269

Open
yaitskov opened this issue Aug 17, 2020 · 0 comments
Open

Json support for basic types #269

yaitskov opened this issue Aug 17, 2020 · 0 comments

Comments

@yaitskov
Copy link

yaitskov commented Aug 17, 2020

Hi,

I want to configure aws services in my app.
Configuration is described in JSON.

e.g. 'Aws.LogLevel' and 'Aws.Core.Protocol' doesn't implement ToJSON/GHC.Generics.Generic.

I spot that Aws.Core.Protocol implements Typeable and Aeson was supporting auto marshaling for Typeable types, but it looks like it doesn't work anymore.

Now I had to rewrap all these types into newtypes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant