Remove markup code in JsonFormatter.cpp

This commit is contained in:
Sid Dahiya 2020-05-27 16:59:14 -07:00
Родитель 82bd756740
Коммит da4a253dd8
1 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -144,10 +144,6 @@ namespace ARIASDK_NS_BEGIN
ans["ext"]["metadata"]["privTags"] = source->data[0].properties[COMMONFIELDS_EVENT_PRIVTAGS].longValue;
source->data[0].properties.erase(COMMONFIELDS_EVENT_PRIVTAGS);
}
if (source->data[0].properties.find(COMMONFIELDS_EVENT_LEVEL) != source->data[0].properties.end()) {
ans["EventInfo"]["Level"] = source->data[0].properties[COMMONFIELDS_EVENT_LEVEL].longValue;
source->data[0].properties.erase(COMMONFIELDS_EVENT_LEVEL);
}
addExtApp(ans, source->extApp);
addExtNet(ans, source->extNet);
@ -175,7 +171,6 @@ namespace ARIASDK_NS_BEGIN
source->data[0].properties.erase(COMMONFIELDS_EVENT_NAME);
source->data[0].properties.erase(COMMONFIELDS_EVENT_INITID);
source->data[0].properties.erase(COMMONFIELDS_EVENT_PRIVTAGS);
source->data[0].properties.erase(COMMONFIELDS_EVENT_LEVEL);
source->data[0].properties.erase(COMMONFIELDS_METADATA_VIEWINGPRODUCERID);
source->data[0].properties.erase(COMMONFIELDS_METADATA_VIEWINGCATEGORY);
source->data[0].properties.erase(COMMONFIELDS_METADATA_VIEWINGPAYLOADDECODERPATH);