C#类字段最后输出不展示

    /// <summary>
        /// 位置(不展示)
        /// </summary>
        [Newtonsoft.Json.JsonIgnore]//json的格式不展示
        [System.Xml.Serialization.XmlIgnore]//xml的格式不展示
        public string jsondata { get; set; }

posted @ 2022-08-23 16:49  原往  阅读(18)  评论(0编辑  收藏  举报