This commit is contained in:
nlohmann committed 2026-10-26 21:24:35 +00:00
1 parent 41c601a7d1
commit d2e264bd84
1400 files changed
+11859 -5440

No files matched your search

+3 -3
View File
@@ -1,7 +1,7 @@
#include <iostream>
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using nlohmann::json;
int main()
{
@@ -9,11 +9,11 @@ int main()
json j_invalid = "ä\xA9ü";
try
{
std::cout << j_invalid.dump() << std::endl;
std::cout << j_invalid.dump() << '\n';
}
catch (const json::type_error& e)
{
std::cout << e.what() << std::endl;
std::cout << e.what() << '\n';
}
std::cout << "string with replaced invalid characters: "