Skip to content

DefaultJsonAttribute

1 min read

Import: import system.validation;

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

DefaultJsonAttribute

JSON encoded field default, applied only when the property is absent.

public struct DefaultJsonAttribute

value

JSON text decoded as the field default when the property is absent.

public value: string