using System; namespace Swan.Formatters { /// /// An attribute used to help setup a property behavior when serialize/deserialize JSON. /// /// [AttributeUsage(AttributeTargets.Property)] public sealed class JsonPropertyAttribute : Attribute { /// /// Gets or sets the name of the property. /// /// /// The name of the property. /// public String PropertyName { get; } /// /// Gets or sets a value indicating whether this is ignored. /// /// /// true if ignored; otherwise, false. /// public Boolean Ignored { get; } } }