| 188 | } |
| 189 | |
| 190 | bool CicadaJSONItem::hasItem(const std::string &name) const |
| 191 | { |
| 192 | if (nullptr == mJSON) { |
| 193 | return false; |
| 194 | } |
| 195 | |
| 196 | return cJSON_HasObjectItem(mJSON, name.c_str()); |
| 197 | } |
| 198 | |
| 199 | void CicadaJSONItem::deleteItem(const std::string &name) |
| 200 | { |
no test coverage detected