h1-mod/deps/json/docs/examples/binary_t.cpp

11 lines
265 B
C++
Raw Normal View History

2024-03-07 00:54:15 -05:00
#include <iostream>
#include <iomanip>
#include <nlohmann/json.hpp>
using json = nlohmann::json;
int main()
{
std::cout << std::boolalpha << std::is_same<nlohmann::byte_container_with_subtype<std::vector<std::uint8_t>>, json::binary_t>::value << std::endl;
}