JsonMemberNameAttribute Class
Allows to specify different names for the member in a JSON string.
Constructors:
Name | Description | |
---|---|---|
JsonMemberNameAttribute() | Initializes a new instance of the JsonMemberNameAttribute class. | |
JsonMemberNameAttribute(String) | Initializes a new instance of the JsonMemberNameAttribute class with specified name. |
Properties:
Name | Description | |
---|---|---|
IsOutputName | Gets or sets whether the name should be used in a generated JSON string as well. | |
JsonName | Gets or sets the name of the member in a JSON string. |