[]
Initializes a new instance of the JsonAttribute class.
public JsonAttribute(int order)
Public Sub New(order As Integer)
| Type | Name | Description |
|---|---|---|
| int | order | A int value indicating the order of serialization or deserialization. |
Initializes a new instance of the JsonAttribute class.
public JsonAttribute(bool skipIfDefault)
Public Sub New(skipIfDefault As Boolean)
| Type | Name | Description |
|---|---|---|
| bool | skipIfDefault | A flag indicating whether the default value should be serialized or deserialized. |
Initializes a new instance of the JsonAttribute class.
public JsonAttribute(string propertyName)
Public Sub New(propertyName As String)
| Type | Name | Description |
|---|---|---|
| string | propertyName | The specified name the property would be serialized. |
Initializes a new instance of the JsonAttribute class.
public JsonAttribute(bool skipIfDefault, int order, string propertyName)
Public Sub New(skipIfDefault As Boolean, order As Integer, propertyName As String)
| Type | Name | Description |
|---|---|---|
| bool | skipIfDefault | A flag indicating whether the default value should be serialized or deserialized. |
| int | order | A int value indicating the order of serialization or deserialization. |
| string | propertyName | The specified name the property would be serialized. |