MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / json>

Method json>

collaboration.cpp:2231–2240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2229
2230template <>
2231nlohmann::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
2243bool AnalysisMergeConflict::Success(std::nullopt_t value)

Callers

nothing calls this directly

Calls 2

SyncExceptionClass · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected