Skip to main content

Class JsonPropertyNameAttribute

Specifies the property name that is present in the JSON when serializing and deserializing.

Assembly: MicroJson.dll
View Source
Declaration
[AttributeUsage(AttributeTargets.Property, Inherited = true)]
public class JsonPropertyNameAttribute : Attribute

Inheritance: System.Object -> System.Attribute

Properties

PropertyName

Gets the name of the property.

View Source
Declaration
public string PropertyName { get; }