json/doc/examples/binary_t.cpp
Niels Lohmann 0f6f08654f
🚸 add examples
2021-11-07 20:58:52 +01:00

11 lines
265 B
C++

#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;
}