Пример #1
0
            protected override JsonProperty CreateProperty(MemberInfo member, MemberSerialization memberSerialization)
            {
                var property = base.CreateProperty(member, memberSerialization);

                property.ShouldSerialize = _ => SettingsUtils.PropertyIsSetting(property.AttributeProvider.GetAttributes(true));
                return(property);
            }