Skip to content

feat: Configurable negative zero handling#23

Closed
rickhohler wants to merge 1 commit intotoon-format:mainfrom
rickhohler:feat/configurable-negative-zero
Closed

feat: Configurable negative zero handling#23
rickhohler wants to merge 1 commit intotoon-format:mainfrom
rickhohler:feat/configurable-negative-zero

Conversation

@rickhohler
Copy link
Copy Markdown
Contributor

@rickhohler rickhohler commented Feb 5, 2026

Separated from #20 per review feedback.

Changes

  • Introduces TOONEncoder.Configuration for customizing encoding behavior.
  • Adds NumericEncodingStrategy with .normalized (default) and .lossless options.
  • Migrates relevant tests to Swift Testing framework.

@mattt
Copy link
Copy Markdown
Collaborator

mattt commented Feb 6, 2026

Thanks for opening this @rickhohler. Closing in favor of #24.

@mattt mattt closed this Feb 6, 2026
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.

2 participants