Leila Shcheglova
377c767aa1
Updated exception handling to catch const reference in out_of_range ( #4331 )
...
Co-authored-by: LeilaSh <leilanagieva81@gmail.com>
2024-04-08 21:12:32 +02:00
Niels Lohmann
9cca280a4d
JSON for Modern C++ 3.11.3 ( #4222 )
2023-11-28 22:36:31 +01:00
Vyacheslav Zhdanovskiy
360ce457f4
Add serialization-only user defined type macros ( #3816 )
2023-11-26 13:18:20 +01:00
Ivor Wanders
aa87ab8b40
Capture exceptions by const& in docs. ( #4099 )
2023-09-23 17:19:50 +02:00
Niels Lohmann
836b7beca4
Fix CI, again ( #4083 )
2023-09-07 20:41:12 +02:00
No
c71ecde505
Use template get instead of get in examples ( #4039 )
...
Co-authored-by: tusooa <tusooa@kazv.moe>
2023-06-11 10:06:24 +02:00
Raphael Grimm
bed648ca55
Allow custom base class as node customization point ( #3110 )
...
Co-authored-by: Niels Lohmann <niels.lohmann@gmail.com>
Co-authored-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
Co-authored-by: barcode <barcode@example.com>
2022-08-28 13:59:07 +02:00
Niels Lohmann
9d69186291
🔖 set version to 3.11.2
2022-08-12 15:04:06 +02:00
Florian Albrechtskirchinger
0e61ee8b07
Restructure inline namespace and allow version component to be disabled ( #3683 )
2022-08-10 20:24:16 +02:00
Niels Lohmann
7b6cf5918b
Documentation change ( #3672 )
...
Co-authored-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
2022-08-05 19:51:39 +02:00
Florian Albrechtskirchinger
9e1a7c85e3
Add json_pointer/string_t equality comparison operators ( #3664 )
2022-08-05 14:08:27 +02:00
Niels Lohmann
f2020da0dd
🔖 set version to 3.11.1
2022-08-01 23:27:58 +02:00
Niels Lohmann
ce0e13ccea
🔖 set version to 3.11.0
2022-07-31 23:19:06 +02:00
Florian Albrechtskirchinger
9aafcbe965
Move UDLs out of the global namespace ( #3605 )
...
* Move UDLs into nlohmann::literals::json_literals namespace
* Add 'using namespace' to unit tests
* Add 'using namespace' to examples
* Add 'using namespace' to README
* Move UDL mkdocs pages out of basic_json/
* Update documentation
* Update docset index
* Add JSON_GlobalUDLs CMake option
* Add unit test
* Build examples without global UDLs
* Add CI target
2022-07-31 17:38:52 +02:00
Florian Albrechtskirchinger
d3e347bd2d
More documentation updates for 3.11.0 ( #3553 )
...
* mkdocs: add string_view examples
* mkdocs: reference underlying operators
* mkdocs: add operator<=> examples
* mkdocs: fix style check issues
* mkdocs: tweak BJData page
* mkdocs: add CMake option hints to macros
* mkdocs: fix JSON_DISABLE_ENUM_SERIALIZATION definition
* mkdocs: fix link to unit-udt.cpp
* mkdocs: fix "Arbitrary Type Conversions" title
* mkdocs: link to api/macros/*.md instead of features/macros.md
* mkdocs: document JSON_DisableEnumSerialization CMake option
* mkdocs: encode required C++ standard in example files
* docset: detect gsed/sed
* docset: update index
* docset: fix CSS patching
* docset: add list_missing_pages make target
* docset: add list_removed_paths make target
* docset: replace page titles with name from index
* docset: add install target for Zeal docset browser
* Use GCC_TOOL in ci_test_documentation target
2022-07-31 14:05:58 +02:00
Niels Lohmann
d1d79b930d
Adjust JSON Pointer examples ( #3622 )
...
* 📝 adjust JSON Pointer examples
* 👷 add test for documentation
* 📝 note platform-dependent output on some examples
2022-07-29 14:28:37 +02:00
Florian Albrechtskirchinger
e3095f636f
Add operator<<(json_pointer) ( #3601 )
...
* Add operator<< for json_pointer
* Deprecate json_pointer::operator string_t()
* Update documentation
* Move operator<<(basic_json) example
* Add example
* Add mkdocs-redirects
* Move operator<< and operator>> doc pages out of basic_json/
* Rename JSON pointer operator_string to operator_string_t
* Add unit test
2022-07-28 22:12:23 +02:00
Niels Lohmann
2d48a4d9c5
Add documentation for comparing json and ordered_json ( #3599 )
...
* 📝 add documentation for #3443
* Apply suggestions from code review
Co-authored-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
2022-07-23 20:54:40 +02:00
Wolf Vollprecht
09fb4819ff
add patch_inplace function ( #3581 )
...
* add patch_inplace function to json class
* add documentation
* fix up docs
2022-07-21 16:27:59 +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
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
Niels
91c330ae01
reorganized repo
2015-06-21 21:24:03 +02:00
Niels
4bb5126502
more documentation
2015-06-21 18:30:08 +02:00
Niels
c40e85920f
more documentation
2015-06-21 09:44:12 +02:00
Niels
bb13c931b3
more documentation
2015-06-21 02:14:01 +02:00
Niels
e63c508172
overworked doxygen
2015-06-21 00:59:33 +02:00