You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-08-07 21:52:55 +02:00
#136 strconv.ParseFloat can not validate 1. , added extra validation for this special case
This commit is contained in:
@ -13,4 +13,5 @@ var inputs = []string{
|
||||
"1E1", // valid, e or E
|
||||
"1ee1", // invalid
|
||||
"100a", // invalid
|
||||
"10.", // invalid
|
||||
}
|
||||
|
Reference in New Issue
Block a user