//主要代码
list ls = memberMap.get(Rz.Roles__c); String JSONString = JSON.serialize(ls);
//调试代码
[{"属性" {"类型":" Work_Team_Member__c"" URL":" /服务/数据/v42.0/sobjects/Work_Team_Member__c/a81W00000008gIsIAI"},"Id":"a81W00000008gIsIAI","Member_Employee_ID__c":"63" ," Member_Name__c":" Test1"," Member_Role__c":"客户代表 - 一般(中学)"," Work_Team_Master__c&# 34;:" a80W00000009DodIAE"}]