-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update JsonToStructs and ScanJson to have white space normalization (#…
…10575) Signed-off-by: Robert (Bobby) Evans <[email protected]>
- Loading branch information
Showing
7 changed files
with
461 additions
and
85 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
12 changes: 12 additions & 0 deletions
12
integration_tests/src/test/resources/int_array_formatted.json
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,12 @@ | ||
{"data": [1,0]} | ||
{"data": [-1,,100]} | ||
{"data": [-0,5,6,7 ,8 , 9 ]} | ||
{"data": [0]} | ||
{"data": [127, -128]} | ||
{"data": []} | ||
{"data": [32767, -32768]} | ||
{"data": [2147483647, -2147483648]} | ||
{"data": [9223372036854775807,-9223372036854775808]} | ||
{"data": [9223372036854775808, -9223372036854775809]} | ||
{"data": [99999999999999999999999999999999999999, -99999999999999999999999999999999999999]} | ||
{"data": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]} |
21 changes: 21 additions & 0 deletions
21
integration_tests/src/test/resources/int_mixed_array_struct_formatted.json
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,21 @@ | ||
{"data": {"A": 0, "B": 1}} | ||
{"data": [1,0]} | ||
{"data": {"A": 1}} | ||
{"data": [-1,,100]} | ||
{"data": {"B": 50}} | ||
{"data": [0]} | ||
{"data": null} | ||
{"data": []} | ||
{"data": {"B": -128, "A": 127}} | ||
{"data": [127, -128]} | ||
{"data": {"A": 32767, "B": -32767}} | ||
{"data": [32767, -32768]} | ||
{"data": {"A": 214783647, "B": -2147483648}} | ||
{"data": [2147483647, -2147483648]} | ||
{"data": {"A": 9223372036854775807, "B": -9223372036854775808}} | ||
{"data": [9223372036854775807,-9223372036854775808]} | ||
{"data": {"A": 9223372036854775808,, "B": -9223372036854775809}} | ||
{"data": [9223372036854775808, -9223372036854775809]} | ||
{"data": {"B": 99999999999999999999999999999999999999, "A": -99999999999999999999999999999999999999}} | ||
{"data": [99999999999999999999999999999999999999, -99999999999999999999999999999999999999]} | ||
{"data": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]} |
5 changes: 5 additions & 0 deletions
5
integration_tests/src/test/resources/int_struct_formatted.json
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,5 @@ | ||
{"data": {"A": 0, "B": 1}} | ||
{"data": {"A": 1}} | ||
{"data": {"B": 50}} | ||
{"data": {"B": -128, "A": 127}} | ||
{"data": {"B": 99999999999999999999, "A": -9999999999999999999}} |
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