[]
Initializes a new instance of the JsonAttribute class.
public JsonAttribute(int order)
| 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)
| 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)
| 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)
| 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. |