| 2229 | |
| 2230 | template <> |
| 2231 | nlohmann::json AnalysisMergeConflict::GetPathItem<nlohmann::json>(const std::string& path) |
| 2232 | { |
| 2233 | char* val = BNAnalysisMergeConflictGetPathItemSerialized(m_object, path.c_str()); |
| 2234 | if (val == nullptr) |
| 2235 | throw SyncException(fmt::format("Failed to find merge conflict path item \"{}\"", path)); |
| 2236 | |
| 2237 | std::string strVal = val; |
| 2238 | BNFreeString(val); |
| 2239 | return nlohmann::json::parse(strVal); |
| 2240 | } |
| 2241 | |
| 2242 | |
| 2243 | bool AnalysisMergeConflict::Success(std::nullopt_t value) |
nothing calls this directly
no test coverage detected