Files
json/examples/json_pointer__string_t.cpp
T
2026-10-26 21:24:35 +00:00

14 lines
286 B
C++

#include <iostream>
#include <nlohmann/json.hpp>
using nlohmann::json;
int main()
{
json::json_pointer::string_t s = "This is a string.";
std::cout << s << '\n';
std::cout << std::boolalpha << std::is_same<json::json_pointer::string_t, json::string_t>::value << '\n';
}