Summary
Initializes a new instance of
JsonPropertyDefaultAttribute
with the specified default property value.
- Namespace
-
GitVersion
.Configuration .Attributes - Containing Type
-
Json
Property Default Attribute
Syntax
public JsonPropertyDefaultAttribute(object boxedValue)
Remarks
Depending on the Type of the boxed value, the resulting string will
be automatically enclosed with single-quotes. If the boxed value is
NOT a string and is converted to a string from a numeric , object,
array, boolean, or null-only type, then it will NOT be enclosed with
single-quotes.
Parameters
Name | Type | Description |
---|---|---|
boxedValue | object |
Return Value
Type | Description |
---|---|
void |