-
Notifications
You must be signed in to change notification settings - Fork 31
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
Parsing an integer value when JSON contains a decimal point #17
Comments
This also causes trouble when trying to do lensing. |
|
Seems like F# Data us fixing this as well: https://www.nuget.org/packages/FSharp.Data/3.0.0-beta4 :
|
I think this behavior is not correct at all. |
I agree. It only makes sense to align with the libraries. Right now JNumber active pattern has some interesting behavior. |
I don't know if this is related:
but
|
We also see this kind of behavior: JamesNK/Newtonsoft.Json#1400 |
I've added a PR that documents the behavior. Note that Fsharp.Data works the way you want. |
As mentioned in #17 (comment) , though it is a separate issue
I feel this is incorrect and should instead result in a failure.
There's possibly other similar edge cases like this one.
The text was updated successfully, but these errors were encountered: