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
- see subtype() – return the binary subtype
-
see clear_subtype() – clears the binary subtype
-
see has_subtype() – returns whether or not the binary value has a subtype
- Since
- version 3.8.0
Definition at line 5174 of file json.hpp.