Table of Contents

TJsonNamingStrategy Class

Abstract base class for JSON naming strategies.

Remarks

Descendants override ResolveName to control how Delphi member names are translated to JSON property names. Strategies generally fall into two categories: those that first strip the conventional F prefix from field names before applying a casing transformation (such as TDefaultNamingStrategy and TCamelCaseNamingStrategy), and identity strategies that use the raw member name as-is before applying the transformation (such as TIdentityNamingStrategy and TIdentityCamelCaseNamingStrategy).

Syntax

Unit: Bcl.Json.Converters

TJsonNamingStrategy = class(TInterfacedObject, IJsonNamingStrategy);