The convenience of System.Text.Json
.NET Blog » JSON
by Richard Lander
7M ago
JSON document processing is one of the most common tasks when working on a modern codebase, appearing equally in client and cloud apps. System.Text.Json offers multiple APIs for reading and writing JSON documents. In this post, we’re going to look at the convenience of reading and writing JSON with System.Text.Json. We’ll also look at Newtonsoft.Json (AKA Json.NET), the original popular and capable JSON library for .NET. We recently kicked off a series on the Convenience of .NET that describes our approach for providing convenient solutions to common tasks. The key message behind this series i ..read more
Visit website
What’s new in System.Text.Json in .NET 8
.NET Blog » JSON
by Eirik Tsarpalis
7M ago
There are a lot of exciting updates for developers in System.Text.Json in .NET 8. In this release, we have substantially improved the user experience when using the library in Native AOT applications, as well as delivering a number of highly requested features and reliability enhancements. These include support for populating read-only members, customizable unmapped member handling, support for interface hierarchies, snake case and kebab case naming policies and much more. Getting the latest bits You can try out the new features by referencing the latest build of System.Text.Json NuGet package ..read more
Visit website
What’s new in System.Text.Json in .NET 7
.NET Blog » JSON
by Eirik Tsarpalis
1y ago
In .NET 7, our focus for System.Text.Json has been to substantially improve extensibility of the library, adding new performance-oriented features and addressing high impact reliability and consistency issues. More specifically, .NET 7 sees the release of contract customization, which gives you more control over how types are serialized or deserialized, polymorphic serialization for user-defined type hierarchies, required member support, and much more. Getting the latest bits You can try out the new features by using the latest build of System.Text.Json NuGet package or the latest SDK for .NET ..read more
Visit website
Announcing gRPC JSON transcoding for .NET
.NET Blog » JSON
by James Newton-King
1y ago
gRPC is a modern way to communicate between apps. gRPC uses HTTP/2, streaming, binary serialization, and message contracts to create high-performance, real-time services. .NET has excellent support for building gRPC apps. However, like most technology choices, there are trade-offs when choosing gRPC over an alternative like REST+JSON. gRPC’s strengths include performance and developer productivity. Meanwhile, REST+JSON can be used everywhere, and its human-readable JSON messages are easy to debug. Wouldn’t it be great if we could build services once in ASP.NET Core and get both gRPC and REST ..read more
Visit website

Follow .NET Blog » JSON on FeedSpot

Continue with Google
Continue with Apple
OR