Skip to content

Refactor: migrate to System.Text.Json serialization#682

Merged
StuartFerguson merged 4 commits into
masterfrom
task/#652_use_new_serialiser
May 9, 2026
Merged

Refactor: migrate to System.Text.Json serialization#682
StuartFerguson merged 4 commits into
masterfrom
task/#652_use_new_serialiser

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

@StuartFerguson StuartFerguson commented May 9, 2026

Replaced Newtonsoft.Json with System.Text.Json and a custom StringSerialiser abstraction throughout the codebase. Updated DTOs and response classes to remove [JsonProperty] attributes. Refactored tests and application logic to use strongly-typed request/response objects and the new serialization approach. Updated NuGet package versions to align with serialization changes. Removed obsolete Swagger example/converter classes. Improved DI setup and logging, and cleaned up unused code.

closes #652

Replaced Newtonsoft.Json with System.Text.Json and a custom StringSerialiser abstraction throughout the codebase. Updated DTOs and response classes to remove [JsonProperty] attributes. Refactored tests and application logic to use strongly-typed request/response objects and the new serialization approach. Updated NuGet package versions to align with serialization changes. Removed obsolete Swagger example/converter classes. Improved DI setup and logging, and cleaned up unused code.
@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 9, 2026

Not up to standards ⛔

🔴 Issues 1 medium

Alerts:
⚠ 1 issue (≤ 0 issues of at least medium severity)

Results:
1 new issue

Category Results
Complexity 1 medium

View in Codacy

🟢 Metrics 0 complexity · -2 duplication

Metric Results
Complexity 0
Duplication -2

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@StuartFerguson StuartFerguson merged commit 7d00f1d into master May 9, 2026
6 of 7 checks passed
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.

Use new Serializer class

1 participant