增加json配置文件操作相关类,增加JsonIgnore特性,反射获取成员过滤包含JsonIgnore特性的成员
xxred authored at 2018-04-03 01:48:03
433.00 B
X
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NewLife.Serialization
{
    /// <summary>
    /// 指示不进行序列化的公共字段或公共读/写属性值。
    /// </summary>
    [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false)]
    public sealed class JsonIgnoreAttribute : Attribute
    {
    }
}