explicitly create a binary array (with subtype)
Synopsis
Declared in <nlohmann/json.hpp>
[[nodiscard]]
static
basic_json
binary(
binary_t::container_type const& init,
binary_t::subtype_type subtype);
Return Value
a JSON binary value holding a copy of init with subtype subtype
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
init |
container with the binary data |
subtype |
subtype to attach to the binary data |
Created with MrDocs