p.type check fixed, added exception handling for json export
p.type check fixed, added exception handling for json export

SongYuJie1989/JSONModel,jianwoo/JSONModel,yarec/JSONModel,xunan623/JSONModel,zhou18520786640/JSONModel,MellongLau/JSONModel,hfossli/JSONModel,jianwoo/JSONModel,youprofit/JSONModel,zwcshy/JSONModel,dbachrach/JSONModel,billinghamj/JSONModel,SatanWoo/JSONModel,cczallen/JSONModel,SanjoDeundiak/JSONModel,liuyujing/JSONModel,redlinesolutions/JSONModel,yunzhongyoulong/JSONModel,johnmyqin/JSONModel,jsonmodel/jsonmodel,ramoslin02/JSONModel,liwangbest/JSONModel,chenkaige/JSONModel,kerrmarin/jsonmodel,ernestopino/JSONModel,TerryAsh/JSONModel,LiuShulong/JSONModel,xxclouddd/JSONModel,iwakevin/JSONModel,billinghamj/JSONModel,AlJaMa/JSONModel,scottdinggo/JSONModel,ThirakornP/JSONModel,huiping192/JSONModel,SummerHF/JSONModel,db42/JSONModel,CareEvolution/JSONModel,izrie/JSONModel,SampleLiao/JSONModel,dalu93/JSONModel,MaWenxing/JSONModel,NiuMengFei/JSONModel,zwcshy/JSONModel,icanzilb/JSONModel