Skip to content

Chore/class mapper annotation#10

Merged
thiagocordeiro merged 2 commits intomainfrom
chore/class-mapper-annotation
May 6, 2026
Merged

Chore/class mapper annotation#10
thiagocordeiro merged 2 commits intomainfrom
chore/class-mapper-annotation

Conversation

@thiagocordeiro
Copy link
Copy Markdown
Contributor

No description provided.

- New top-level "Renaming JSON keys with #[JsonProperty]" section
  explaining wire-name remapping with a User snake_case example,
  and a note that error paths and the expected payload use the wire
  key.
- New "Pinning a Mapper on the Class with #[JsonMapper]" subsection
  under Custom Type Mappers, listing all five accepted shapes
  (instance/static class strings, plain invokable, instance value,
  programmatic closure) and the attribute-wins resolution order.
- Updated Contents table of contents and Summary bullets.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@thiagocordeiro thiagocordeiro force-pushed the chore/class-mapper-annotation branch from f64322e to 3ec495c Compare May 6, 2026 07:31
- New top-level "Renaming JSON keys with #[JsonProperty]" section
  explaining wire-name remapping with a User snake_case example,
  and a note that error paths and the expected payload use the wire
  key.
- New "Pinning a Mapper on the Class with #[JsonMapper]" subsection
  under Custom Type Mappers, listing all five accepted shapes
  (instance/static class strings, plain invokable, instance value,
  programmatic closure) and the attribute-wins resolution order.
- Updated Contents table of contents and Summary bullets.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@thiagocordeiro thiagocordeiro force-pushed the chore/class-mapper-annotation branch from 3ec495c to 2670a10 Compare May 6, 2026 09:01
@thiagocordeiro thiagocordeiro merged commit eabee68 into main May 6, 2026
1 check passed
@thiagocordeiro thiagocordeiro deleted the chore/class-mapper-annotation branch May 6, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant