我有以下HTTP Post和以下有效负载
{ "externalCode":"999","name":"PNNL - Winthrop,WA (Sundown L","description":"WINTHROP","geozoneFlx":"PNL","status":"A","address1":“135Sundown Lane","city":"Winthrop","state":"WA","country":”美国“,"zipCode":"98862-0339","timezone":"PST","startDate":"2016-01-27T00:00:00","endDate":"9999-12-31T00:00:00“},
然而,一些数据消息进入逻辑应用程序时看起来像这样,数据中没有"State“"name”,如下所示
"externalCode":"999","name":"PNNL - Winthrop,WA (Sundown L","description":"Winthrop","geozoneFlx":"PNL","status":"A","address1":“135Sundown Lane","city":"WINTHROP","country":"OKANOGAN",”country“:"USA","zipCode":"98862-0339","timezone":"PST","startDate":"2016-01-27T00:00:00","endDate":"9999-12-31T00:00:00“},
我不得不说,如果数据消息没有像上面那样的State json名称,那么就把它踢出去。如何过滤上面缺少的json字段,比如"State“??
谢谢
麦克
https://stackoverflow.com/questions/63222360
复制相似问题