Skip to content

Improve JSON serialization and deserialization#47

Open
0xced wants to merge 1 commit into
fixer-m:masterfrom
0xced:improve-json-serialization
Open

Improve JSON serialization and deserialization#47
0xced wants to merge 1 commit into
fixer-m:masterfrom
0xced:improve-json-serialization

Conversation

@0xced

@0xced 0xced commented Jan 31, 2025

Copy link
Copy Markdown
  • Use JsonContent.Create() for requests in order to avoid the intermediate string serialization.
  • Use ReadFromJsonAsync() for responses in order to avoid the intermediate string serialization.

Also update target framework from .NET 6 (unsupported) to .NET 8 (current LTS).

* Use JsonContent.Create() for requests in order to avoid the intermediate string serialization.
* Use ReadFromJsonAsync<T>() for responses in order to avoid the intermediate string serialization.

Also update target framework from .NET 6 (unsupported) to .NET 8 (current LTS).
@0xced

0xced commented Apr 17, 2025

Copy link
Copy Markdown
Author

Hey Ilya,
Just a quick reminder to take a look at that pull request when you get a chance. No rush, I just wanted to make sure it didn’t slip through the cracks. Let me know if you have any questions or need anything from me.

Thanks!

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.

1 participant