- 29 Apr, 2020 1 commit
-
-
ArthurSonzogni authored
Github issue: https://github.com/nlohmann/json/issues/2073 nlohmann::json documents 2 way of depending on it using CMake 1) Copy-paste the project/source into your own project. 2) Install nlohman::json and then use find_package. (1) pollutes your git repository, (2) requires everyone to install the dependencies themselves. Since 2018, CMake provide some kind of 'package manager' features using [FetchContent](https://cmake.org/cmake/help/v3.17/module/FetchContent.html) It gives the following: ~~~cmake include(FetchContent) FetchContent_Declare(json GIT_REPOSITORY https://github.com/nlohmann/json GIT_TAG v3.7.3) FetchContent_GetProperties(json) if(NOT json_POPULATED) FetchContent_Populate(json) add_subdirectory( ${json_SOURCE_DIR} ${json_BINARY_DIR} EXCLUDE_FROM_ALL) endif() ~~~ Then declares the dependency in the target using it: ~~~cmake target_link_library(my_project PRIVATE nlohmann_json::nlohmann_json ~~~ This patch updates the documentation and provides tests.
-
- 28 Apr, 2020 1 commit
-
-
Niels Lohmann authored
Fix returning reference to local temporary object
-
- 27 Apr, 2020 1 commit
-
-
Niels Lohmann authored
-
- 24 Apr, 2020 1 commit
-
-
Niels Lohmann authored
updated wandbox link
-
- 23 Apr, 2020 1 commit
-
-
Alexander Myasnikov authored
-
- 21 Apr, 2020 1 commit
-
-
Niels Lohmann authored
Add missing testcase about NaN in unit-constructor1.cpp
-
- 20 Apr, 2020 6 commits
-
-
Niels Lohmann authored
Fix bug in diff function
-
Niels Lohmann authored
-
Niels Lohmann authored
Fix GCC compiler warnings
-
Niels Lohmann authored
Fix Clang compiler warnings
-
Niels Lohmann authored
Update doctest to 2.3.7
-
chenguoping authored
-
- 19 Apr, 2020 4 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
make CMake's version config file architecture-independent
-
- 17 Apr, 2020 3 commits
-
-
Hubert Chathi authored
-
Niels Lohmann authored
fix warnings in serializer.hpp for VS2019
-
Niels Lohmann authored
Fix C26451 warnnings in to_chars.hpp
-
- 16 Apr, 2020 1 commit
-
-
Niels Lohmann authored
Add binary type support to all binary file formats, as well as an internally represented binary type
-
- 14 Apr, 2020 1 commit
-
-
Michael Reilly authored
Add binary type support to all binary file formats, as well as an internally represented binary type
-
- 13 Apr, 2020 5 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
catch exceptions for json_pointer : ..../+99
-
Niels Lohmann authored
Templatize basic_json constructor from json_ref
-
Niels Lohmann authored
-
Niels Lohmann authored
Replace deprecated std::is_pod
-
- 12 Apr, 2020 3 commits
-
-
Artöm Bakri Al-Sarmini authored
-
Artöm Bakri Al-Sarmini authored
-
Niels Lohmann authored
-
- 11 Apr, 2020 4 commits
-
-
Niels Lohmann authored
Modify the document about operator==
-
Niels Lohmann authored
Added wsjcpp.yml
-
Niels Lohmann authored
-
Evgenii Sopov authored
-
- 10 Apr, 2020 4 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
Fixes #1971 (memory leak in basic_json::push_back)
-
Niels Lohmann authored
-
Niels Lohmann authored
appveyor.yml: Compile and test with latest version for __cplusplus ma…
-
- 08 Apr, 2020 1 commit
-
-
Artöm Bakri Al-Sarmini authored
-
- 07 Apr, 2020 2 commits
-
-
Artöm Bakri Al-Sarmini authored
-
Artöm Bakri Al-Sarmini authored
-