Table of Contents

JsonEnumValuesAttribute Class

Specifies custom string values for enumeration members during JSON serialization.

Syntax

Unit: Bcl.Json.Attributes

JsonEnumValuesAttribute = class(TCustomAttribute);

Constructors

Name Description
Create Creates the attribute with a comma- or semicolon-separated list of enum value names.

Properties

Name Description
EnumValues Gets the list of custom enum value names.