| 559 | |
| 560 | template <typename Json> |
| 561 | bool is_array_of_objects(const Json& val) |
| 562 | { |
| 563 | if (!is_json_array(val)) |
| 564 | { |
| 565 | return false; |
| 566 | } |
| 567 | for (const auto& item : val.array_range()) |
| 568 | { |
| 569 | if (!is_json_object(item)) |
| 570 | { |
| 571 | return false; |
| 572 | } |
| 573 | } |
| 574 | return true; |
| 575 | } |
| 576 | |
| 577 | template <typename Json> |
| 578 | bool is_array_of_primitives(const Json& val) |
no test coverage detected