-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve JSON and CSV parsing of integer values (#4790)
* Improve JSON and CSV support for boolean values Signed-off-by: Andy Grove <[email protected]> * implement custom boolean parsing logic for CSV and JSON * Improve JSON and CSV parsing of integer values Signed-off-by: Andy Grove <[email protected]> * Add more tests. Remove csv configs that are no longer needed Signed-off-by: Andy Grove <[email protected]> * fix regression * remove duplicate code * add XFAIL test for JSON strings containing integers * Save * Save
- Loading branch information
Showing
14 changed files
with
96 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ "number": 0 } | ||
{ "number": -128 } | ||
{ "number": 127 } | ||
{ "number": -32768 } | ||
{ "number": 32767 } | ||
{ "number": -2147483648 } | ||
{ "number": 2147483647 } | ||
{ "number": -9223372036854775808 } | ||
{ "number": 9223372036854775807 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ "number": true } | ||
{ "number": 3.141 } | ||
{ "number": "0" } | ||
{ "number": "-128" } | ||
{ "number": "127" } | ||
{ "number": "-32768" } | ||
{ "number": "32767" } | ||
{ "number": "-2147483648" } | ||
{ "number": "2147483647" } | ||
{ "number": "-9223372036854775808" } | ||
{ "number": "9223372036854775807" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.