Skip to content

PropertyNameAttribute

1 min read

Import: import system.json;

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.

PropertyNameAttribute

Overrides the JSON property name of a field of a @json type.

public struct PropertyNameAttribute

name

Property name used in JSON for this field.

public name: string