Keys
Key name transformation strategy.
Options
- Default:
SAFE - Values:
SAFE- Preserve structure without corrupting special charactersCAMEL- camelCaseSNAKE- snake_caseKEBAB- kebab-casePASCAL- PascalCaseTRAIN- Train-Case
Comparison
Input: Background color or background-color
| Format | Result |
|---|---|
SAFE | Background color (preserved) |
CAMEL | backgroundColor |
SNAKE | background_color |
KEBAB | background-color |
PASCAL | BackgroundColor |
TRAIN | Background-Color |
Path
config.format.keys
Example
config: format: keys: CAMEL # Transform keys to camelCaseSee Also
- Key Formatting guide - Detailed formatting behavior and edge cases