Class JsonPropertyAttribute
Inheritance
System.Object
System.Attribute
JsonPropertyAttribute
Namespace: FastReport.Utils.Json.Serialization
Assembly: FastReport.dll
Syntax
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public class JsonPropertyAttribute : Attribute
Constructors
JsonPropertyAttribute(String, Boolean)
Declaration
public JsonPropertyAttribute(string propertyName, bool ignoreNullValue = true)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | |
System.Boolean | ignoreNullValue |
Properties
IgnoreNullValue
Declaration
public bool IgnoreNullValue { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
PropertyName
Declaration
public string PropertyName { get; }
Property Value
Type | Description |
---|---|
System.String |