Remove markup code in JsonFormatter.cpp
This commit is contained in:
Родитель
82bd756740
Коммит
da4a253dd8
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче