Daniel Lemire
37a9aaad48
[no ci] tweaking the wording
2024-02-26 14:05:12 -05:00
Daniel Lemire
3bb2f0a186
Return a better error when a user tries to cast a document that has already been accessed to a value ( #2085 )
...
* Fix.
* adding a test, cleaning some comments, adding documentation
* Correcting the JSON input.
* adding another test
2023-11-26 14:13:05 -05:00
Daniel Lemire
5ad7698af1
...
2023-03-13 17:07:25 -04:00
Daniel Lemire
19902abaf8
Guarding first/second access. ( #1688 )
...
* Guarding first/second access.
* Correcting our own usage.
* Adding more documentation.
2021-08-06 20:25:05 -04:00
Daniel Lemire
b79261eebc
This cleans a bit the current code, especially with respect to EOF guards. ( #1669 )
...
* Upgrading the GitHub Actions.
* Upgrading appveyor
* Upgrading circle ci.
* Cleaning.
2021-07-25 10:36:22 -04:00
Daniel Lemire
47a62db559
Isolated jkeiser fix for issue 1632: make it so that INCORRECT_TYPE is a recoverable condition in On Demand ( #1663 )
2021-07-23 11:32:26 -04:00
John Keiser
2ed24666b5
Add value.type()
2021-03-02 17:02:50 -08:00
John Keiser
bcab8d3abf
Check for end object/array at top level
...
This avoids a very unlikely buffer overrun that can occur in a particular kind of invalid JSON:
- the document is invalid with an unclosed top level array or object
- the last thing in the document is a number that ends at EOF
- the padding is filled entirely with numeric digits
2021-02-22 09:35:21 -08:00
John Keiser
74d6658f39
Make out of order iteration tests actually test errors in the loop
2021-02-21 11:43:36 -08:00
John Keiser
3076de0405
Use SIMDJSON_DEVELOPMENT_CHECKS instead of SIMDJSON_PRODUCTION
...
Don't enable in retail
2021-02-20 11:46:01 -08:00
John Keiser
9651efe626
Split up tests for compile times
2021-02-06 11:07:14 -08:00