C# Newtonsoft.Json不序列字段
[JsonObject(MemberSerialization.OptOut)] public class employeePersonalForm { [JsonIgnore] public string eid { get; set; } public int? sex { get; set; } public string name { get; set; } public int? zzmm { get; set; } public int? nation { get; set; } public int? degreeid { get; set; } }
 
                    
                     
                    
                 
                    
                
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号