This commit is contained in:
nlohmann
2026-10-26 21:24:35 +00:00
parent 41c601a7d1
commit d2e264bd84
1400 changed files with 11859 additions and 5440 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ void swap(nlohmann::basic_json& j1, nlohmann::basic_json& j2)
#include <iomanip>
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using nlohmann::json;
int main()
{
@@ -57,7 +57,7 @@ void swap(nlohmann::basic_json& j1, nlohmann::basic_json& j2)
// swap values
std::swap(j1, j2);
std::cout << "j1 = " << j1 << " | j2 = " << j2 << std::endl;
std::cout << "j1 = " << j1 << " | j2 = " << j2 << '\n';
}
```