JSON for Modern C++ 3.7.3

byte_container_with_subtype
byte_container_with_subtype
byte_container_with_subtype
byte_container_with_subtype
byte_container_with_subtype
clear_subtype
container_type
has_subtype
operator!=
operator==
set_subtype
subtype
| ## ◆ set_subtype() template<typename BinaryType >
void nlohmann::byte_container_with_subtype< BinaryType >::set_subtype | ( | std::uint8_t | subtype | ) |
| inlinenoexcept
Sets the binary subtype of the value, also flags a binary JSON value as having a subtype, which has implications for serialization. Complexity Constant. Exception safety No-throw guarantee: this member function never throws exceptions. See also subtype() – return the binary subtype clear_subtype() – clears the binary subtype has_subtype() – returns whether or not the binary value has a subtype Since version 3.8.0 Definition at line 4309 of file json.hpp.