Skip to content

Remove Newtonsoft.Json, use strong types for transactions#1760

Open
StuartFerguson wants to merge 5 commits intomasterfrom
task/#1730_use_new_serializer
Open

Remove Newtonsoft.Json, use strong types for transactions#1760
StuartFerguson wants to merge 5 commits intomasterfrom
task/#1730_use_new_serializer

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

Replaced all Newtonsoft.Json usage with Shared.Serialisation.StringSerialiser, removed [JsonProperty] attributes, and eliminated the SerialisedMessage wrapper in favor of strongly-typed transaction request/response models. Refactored transaction handlers and ModelFactory to use and return specific types. Updated API endpoints, client interfaces, and tests to use the new approach. Removed all Newtonsoft.Json-related dependencies and customizations, making the codebase more type-safe and aligned with modern .NET serialization practices.

closes #1730

Replaced all Newtonsoft.Json usage with Shared.Serialisation.StringSerialiser, removed [JsonProperty] attributes, and eliminated the SerialisedMessage wrapper in favor of strongly-typed transaction request/response models. Refactored transaction handlers and ModelFactory to use and return specific types. Updated API endpoints, client interfaces, and tests to use the new approach. Removed all Newtonsoft.Json-related dependencies and customizations, making the codebase more type-safe and aligned with modern .NET serialization practices.
@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 7, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics -13 complexity · 1 duplication

Metric Results
Complexity -13
Duplication 1

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.

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.

Use new Serializer class

1 participant