Skip to content

Add CodableNaming: compile-time key naming conventions for codable macros#1980

Open
kperryua wants to merge 2 commits into
swiftlang:experimental/new-codablefrom
kperryua:new-codable/field-naming
Open

Add CodableNaming: compile-time key naming conventions for codable macros#1980
kperryua wants to merge 2 commits into
swiftlang:experimental/new-codablefrom
kperryua:new-codable/field-naming

Conversation

@kperryua

Copy link
Copy Markdown
Contributor

A first attempt at specifying full-struct field/case/label naming patterns. Again, this mirrors the capabilities from other packages like serde. Please take note of the CodableNaming documentation, as this does behave significantly differently than JSONEncoder/Decoder's snake case conversions.

@kperryua kperryua added the new-codable Related to new Swift (de)serialization APIs label May 14, 2026
@kperryua kperryua marked this pull request as ready for review May 14, 2026 19:30
@kperryua kperryua requested a review from a team as a code owner May 14, 2026 19:30
@kperryua kperryua removed the request for review from a team May 14, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-codable Related to new Swift (de)serialization APIs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant