| 109 | } |
| 110 | |
| 111 | bool RapidDeserializer::array( |
| 112 | const std::function<bool(dap::Deserializer*)>& cb) const { |
| 113 | if (!json()->IsArray()) { |
| 114 | return false; |
| 115 | } |
| 116 | for (uint32_t i = 0; i < json()->Size(); i++) { |
| 117 | RapidDeserializer d(&(*json())[i]); |
| 118 | if (!cb(&d)) { |
| 119 | return false; |
| 120 | } |
| 121 | } |
| 122 | return true; |
| 123 | } |
| 124 | |
| 125 | bool RapidDeserializer::field( |
| 126 | const std::string& name, |
no test coverage detected