! @brief explicitly create an array from an initializer list Creates a JSON array value from a given initializer list. That is, given a list of values `a, b, c`, creates the JSON value `[a, b, c]`. If the initializer list is empty, the empty array `[]` is created. @note This function is only needed to express two edge cases that cannot be realized with the initializer lis
| 18267 | @since version 1.0.0 |
| 18268 | */ |
| 18269 | JSON_HEDLEY_WARN_UNUSED_RESULT |
| 18270 | static basic_json array(initializer_list_t init = {}) |
| 18271 | { |
| 18272 | return basic_json(init, false, value_t::array); |
| 18273 | } |
| 18274 | |
| 18275 | /*! |
| 18276 | @brief explicitly create an object from an initializer list |
nothing calls this directly
no test coverage detected