Harinath Nampally
d23291ba26
use diagnostic positions in exceptions ( #4585 )
...
* add a ci step for Json_Diagnostic_Positions
Signed-off-by: Harinath Nampally <harinath922@gmail.com >
* Update ci.cmake to address review comments
Signed-off-by: Harinath Nampally <harinath922@gmail.com >
* address review comment
Signed-off-by: Harinath Nampally <harinath922@gmail.com >
* fix typo in the comment
Signed-off-by: Harinath Nampally <harinath922@gmail.com >
* fix typos in ci.cmake
Signed-off-by: Harinath Nampally <harinath922@gmail.com >
* invoke the new ci step from ubuntu.yml
Signed-off-by: Harinath Nampally <harinath922@gmail.com >
* issue4561 - use diagnostic positions for exceptions
Signed-off-by: Harinath Nampally <harinath922@gmail.com >
* fix ci_test_documentation check
Signed-off-by: Harinath Nampally <harinath922@gmail.com >
* address review comments
Signed-off-by: Harinath Nampally <harinath922@gmail.com >
* fix ci check failures for unit-diagnostic-postions.cpp
Signed-off-by: Harinath Nampally <harinath922@gmail.com >
* improvements based on review comments
Signed-off-by: Harinath Nampally <harinath922@gmail.com >
* fix const correctness string
Signed-off-by: Harinath Nampally <harinath922@gmail.com >
* further refinements based on reviews
Signed-off-by: Harinath Nampally <harinath922@gmail.com >
* add one more test case for full coverage
Signed-off-by: Harinath Nampally <harinath922@gmail.com >
* ci check fix - add const
Signed-off-by: Harinath Nampally <harinath922@gmail.com >
* add unit tests for json_diagnostic_postions only
Signed-off-by: Harinath Nampally <harinath922@gmail.com >
* fix ci_test_diagnostics
Signed-off-by: Harinath Nampally <harinath922@gmail.com >
* fix ci_test_build_documentation check
Signed-off-by: Harinath Nampally <harinath922@gmail.com >
---------
Signed-off-by: Harinath Nampally <harinath922@gmail.com >
2025-01-19 10:42:21 +01: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
Florian Albrechtskirchinger
d909f80960
Add versioned, ABI-tagged inline namespace and namespace macros ( #3590 )
...
* Add versioned inline namespace
Add a versioned inline namespace to prevent ABI issues when linking code
using multiple library versions.
* Add namespace macros
* Encode ABI information in inline namespace
Add _diag suffix to inline namespace if JSON_DIAGNOSTICS is enabled, and
_ldvcmp suffix if JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON is enabled.
* Move ABI-affecting macros into abi_macros.hpp
* Move std_fs namespace definition into std_fs.hpp
* Remove std_fs namespace from unit test
* Format more files in tests directory
* Add unit tests
* Update documentation
* Fix GDB pretty printer
* fixup! Add namespace macros
* Derive ABI prefix from NLOHMANN_JSON_VERSION_*
2022-07-30 21:59:13 +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