Skip to content

Start of Newtonsoft.Json clean-up#69

Merged
twogood merged 3 commits intomainfrom
clean-up
May 29, 2025
Merged

Start of Newtonsoft.Json clean-up#69
twogood merged 3 commits intomainfrom
clean-up

Conversation

@twogood
Copy link
Owner

@twogood twogood commented May 29, 2025

No description provided.

@twogood twogood requested a review from Copilot May 29, 2025 20:44
@twogood twogood self-assigned this May 29, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR initiates a clean-up effort for the Newtonsoft.Json integration by centralizing default settings and supported media types. The changes include replacing references to JsonHelper with a new NewtonsoftJsonDefaults class, updating serializer and deserializer implementations, and removing the obsolete JsonHelper file.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Activout.RestClient.Newtonsoft.Json/RestClientBuilderNewtonsoftJsonExtensions.cs Updated to use NewtonsoftJsonDefaults for default serializer settings
Activout.RestClient.Newtonsoft.Json/NewtonsoftJsonSerializer.cs Replaced JsonHelper reference with NewtonsoftJsonDefaults for media types
Activout.RestClient.Newtonsoft.Json/NewtonsoftJsonDeserializer.cs Similar media types update using NewtonsoftJsonDefaults
Activout.RestClient.Newtonsoft.Json/NewtonsoftJsonDefaults.cs Introduced a centralized defaults class for JSON settings and media types
Activout.RestClient.Newtonsoft.Json/JsonHelper.cs Removed as part of the consolidation effort

@twogood twogood merged commit e690246 into main May 29, 2025
8 checks passed
@twogood twogood deleted the clean-up branch May 29, 2025 20:58
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