JsonAttribute Class |
Namespace: NLog.Layouts
The JsonAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
| JsonAttribute |
Initializes a new instance of the JsonAttribute class.
| |
| JsonAttribute(String, Layout) |
Initializes a new instance of the JsonAttribute class.
| |
| JsonAttribute(String, Layout, Boolean) |
Initializes a new instance of the JsonAttribute class.
|
| Name | Description | |
|---|---|---|
| DefaultValue |
Gets or sets the fallback value when result value is not available
| |
| Encode |
Gets or sets whether output should be encoded as Json-String-Property, or be treated as valid json.
| |
| EscapeUnicode |
Gets or sets a value indicating whether to escape non-ascii characters
| |
| IncludeEmptyValue |
Gets or sets whether empty attribute value should be included in the output.
| |
| Layout |
Gets or sets the layout used for rendering the attribute value.
| |
| Name |
Gets or sets the name of the attribute.
| |
| ValueType |
Gets or sets the result value type, for conversion of layout rendering output
|