JsonPropertyDefaultAttribute.

JsonPropertyDefaultAttribute(SemanticVersionFormat) Constructor

Summary

Initializes a new instance of JsonPropertyDefaultAttribute with the specified default property value.

Syntax

public JsonPropertyDefaultAttribute(SemanticVersionFormat value)

Remarks

The Enum value is converted to string, preferring the symbol name over the numeral if possible.

Parameters

Name Type Description
value SemanticVersionFormat The default value of the property.

Return Value

Type Description
void
GitHub