一开始在属性上注解了JsonIgnore以为就不会序列化了,结果还是有这个属性,看来是没有起作用啊 [JsonIgnore] public List<int> SubjectAndSubSubjectsBIDsList { get; set; } 找了不少资料,都说用[JsonIgnore]就可以了.实际上后来找到一个需要在class顶上也注解一个东西 [JsonObject(MemberSerialization.OptOut)] public class EB_Subject 这样子就生效…
实践 # https://git-scm.com/docs/gitignore https://git-scm.com/docs/gitignore 不跟踪log目录下的所有文件,但需要保留这个文件夹: # A trailing "/**" matches everything inside. For example, "abc/**" matches all files inside directory "abc", relative to t…