iw4x-client/deps/json/docs/examples/json_pointer__string_t.cpp

14 lines
303 B
C++
Raw Permalink Normal View History

2024-03-07 05:13:50 -05:00
#include <iostream>
#include <nlohmann/json.hpp>
using json = nlohmann::json;
int main()
{
json::json_pointer::string_t s = "This is a string.";
std::cout << s << std::endl;
std::cout << std::boolalpha << std::is_same<json::json_pointer::string_t, json::string_t>::value << std::endl;
}