@brief explicitly create a binary array (without subtype) @sa https://json.nlohmann.me/api/basic_json/binary/
| 20123 | /// @brief explicitly create a binary array (without subtype) |
| 20124 | /// @sa https://json.nlohmann.me/api/basic_json/binary/ |
| 20125 | JSON_HEDLEY_WARN_UNUSED_RESULT |
| 20126 | static basic_json binary(const typename binary_t::container_type& init) |
| 20127 | { |
| 20128 | auto res = basic_json(); |
| 20129 | res.m_type = value_t::binary; |
| 20130 | res.m_value = init; |
| 20131 | return res; |
| 20132 | } |
| 20133 | |
| 20134 | /// @brief explicitly create a binary array (with subtype) |
| 20135 | /// @sa https://json.nlohmann.me/api/basic_json/binary/ |
nothing calls this directly
no test coverage detected