Skip to content

Migrate from Newtonsoft.Json to System.Text.Json#1263

Merged
StuartFerguson merged 6 commits intomasterfrom
task/#1262_remove_newtonsoft
May 1, 2026
Merged

Migrate from Newtonsoft.Json to System.Text.Json#1263
StuartFerguson merged 6 commits intomasterfrom
task/#1262_remove_newtonsoft

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

Replaced all usages of Newtonsoft.Json with a new StringSerialiser abstraction based on System.Text.Json. Updated ClientProxyBase and related classes to accept injected serialization functions. Refactored event store and test code to use StringSerialiser for all serialization/deserialization, including anonymous types. Expanded serialization options for property naming and formatting. Removed Newtonsoft.Json package references and obsolete code. Added new tests for serialization and health checks. The codebase is now fully System.Text.Json-based and serialization-agnostic.

closes #1262

Replaced all usages of Newtonsoft.Json with a new StringSerialiser abstraction based on System.Text.Json. Updated ClientProxyBase and related classes to accept injected serialization functions. Refactored event store and test code to use StringSerialiser for all serialization/deserialization, including anonymous types. Expanded serialization options for property naming and formatting. Removed Newtonsoft.Json package references and obsolete code. Added new tests for serialization and health checks. The codebase is now fully System.Text.Json-based and serialization-agnostic.
@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 1, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 19 complexity · -2 duplication

Metric Results
Complexity 19
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 bb9c480 into master May 1, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove Newtonsoft Json

1 participant