Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The current library sets JSON serialization settings on the static JsonConvert.DefaultSettings instance, which affects JSON serialization for the entire app (and across different threads if the app is multi-threaded).
This means that using the library will corrupt JSON data sent over by either other libraries or the app itself if any of the settings are different amongst them (which in general they are).
Instead the library should use its own isolated JSON serialization settings so that consuming apps and other libraries can use whatever settings they need without affecting each other.