haskell / haskell/aeson

Need an option to cast string to int

Open
#990 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
1.3k
Forks
336
Avg merge
3d 7h
Merged PRs (30d)
4

Description

Hi,

I upgrade aeson to version 2.0.3.0 and gogol-1.0 fails because data type has an int64 field, but value is `"0"`

```
inputStages :: (Core.Maybe [Core.Int64]),
} deriving (Core.Eq, Core.Show, Core.Generic)

```

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Start by reproducing the gogol-1.0 failure with aeson 2.0.3.0 and inspect existing decoding options; done means the requested option is implemented and its behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.