Qianqian Fang
046927cc29
Fix nlohmann/json#3513, explain is_ndarray flag ( #3514 )
...
* Fix nlohmann/json#3513 , explain is_ndarray flag
* add test for ndarray size following H
2022-06-03 08:51:33 +02:00
Qianqian Fang
ede6667858
Prevent ndarray size vector from recursive use, fix nlohmann/json#3503 ( #3505 )
...
* Prevent ndarray size vector from recursive use, fix nlohmann/json#3503
* fix ci error
* complete coverage
* add missing coverage
* fix style issue in added test
2022-05-23 06:07:22 +02:00
Qianqian Fang
41226d0a03
prevent ndarray dimension vector from recusive array, nlohmann/json#3500 ( #3502 )
2022-05-20 09:41:51 +02:00
Qianqian Fang
93c9e0c703
Discard optimized containers with negative counts in UBJSON/BJData (#3491,#3492,#3490) ( #3500 )
...
* Discard optimized containers with negative counts in UBJSON/BJData (#3491,#3492,#3490)
* fix msvc error
* update unit tests for negative sized containers
* use a loop to test 0 ndarray dimension
* throw an error when count is negative, merge CHECK_THROW_AS and _WITH with _WITH_AS
2022-05-18 18:38:15 +02:00
Niels Lohmann
6a7392058e
Complete documentation for 3.11.0 ( #3464 )
...
* 👥 update contributor and sponsor list
* 🚧 document BJData format
* 🚧 document BJData format
* 📝 clarified documentation of [json.exception.parse_error.112]
* ✏️ adjust titles
* 📝 add more examples
* 🚨 adjust warnings for index.md files
* 📝 add more examples
* 🔥 remove example for deprecated code
* 📝 add missing enum entry
* 📝 overwork table for binary formats
* ✅ add test to create table for binary formats
* 📝 fix wording in example
* 📝 add more examples
* Update iterators.md (#3481 )
* ✨ add check for overloads to linter #3455
* 👥 update contributor list
* 📝 add more examples
* 📝 fix documentation
* 📝 add more examples
* 🎨 fix indentation
* 🔥 remove example for destructor
* 📝 overwork documentation
* Updated BJData documentation, #3464 (#3493 )
* update bjdata.md for #3464
* Minor edit
* Fix URL typo
* Add info on demoting ND array to a 1-D optimized array when singleton dimension
Co-authored-by: Chaoqi Zhang <prncoprs@163.com>
Co-authored-by: Qianqian Fang <fangqq@gmail.com>
2022-05-17 13:08:56 +02:00
Qianqian Fang
a8a547d7a2
change bjdata ndarray flag to detect negative size, as part of #3475 ( #3479 )
...
* change bjdata ndarray flag to detect negative size, fix https://github.com/nlohmann/json/issues/3475
* fix CI error
* fix CI on 32bit windows
* remove platform specific out_of_range error messages
* Incorporate suggestions from @nlohmann and @falbrechtskirchinger
* fix CI errors
* add coverage
* fix sax event order
* fix coverage
2022-05-10 21:13:24 +02:00
Qianqian Fang
b205361d86
Handle invalid BJData optimized type, fix #3461 ( #3463 )
...
* Handle invalid BJData optimized type, fix #3461
* Update unit test to handle bjdata optimized array type error
2022-05-01 22:47:06 +02:00
Niels Lohmann
b21c345179
Reorganize directories ( #3462 )
...
* 🚚 move files
* 🚚 rename doc folder to docs
* 🚚 rename test folder to tests
2022-05-01 09:41:50 +02:00