You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The representation of numbers is similar to that used in most
programming languages. A number is represented in base 10 using
decimal digits. It contains an integer component that may be
prefixed with an optional minus sign, which may be followed by a
fraction part and/or an exponent part. Leading zeros are not
allowed.
but it looks like github.com/ugorji/go can parse leading zero number as a valid one
module json
go 1.18
require github.com/ugorji/go/codec v1.2.12
It(this bug/feature) is not that important to my project, I am just wondering if there is some consideration in implementation lead to this bug/feature, which can achieve a better performance for json encode/decode?
The text was updated successfully, but these errors were encountered:
As I check in https://datatracker.ietf.org/doc/html/rfc7159,
but it looks like
github.com/ugorji/go
can parse leading zero number as a valid oneit outputs
I am using
It(this bug/feature) is not that important to my project, I am just wondering if there is some consideration in implementation lead to this bug/feature, which can achieve a better performance for json encode/decode?
The text was updated successfully, but these errors were encountered: