Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#205 Move to System.Text.Json from Newtonsoft #206

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thompson-tomo
Copy link
Contributor

Replaces the current newtonsoft implementation with System.Text.Json

Closes #205

return result;
}

public static bool IsPotentialJson(string msg)
{
string trimmedMsg = msg.Trim();
return (trimmedMsg.StartsWith("{") && trimmedMsg.EndsWith("}"));
return (trimmedMsg.StartsWith("{") && trimmedMsg.EndsWith("}"));
Copy link

Choose a reason for hiding this comment

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

Maybe you could revert these formatting changes (adding/removing whitespaces) from this file as well as the .nuspec files. Without it the PR is more concise and clear.

Copy link
Contributor Author

@thompson-tomo thompson-tomo May 27, 2024

Choose a reason for hiding this comment

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

@mperdeck to help this along should I bother or are you happy to review it with the whitespace changes? Effectively without the whitespace there is only 3 Additions & 3 removals.

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.

Migrate from Newtonsoft to System.Text.Json
2 participants