dotNetDave's avatardotNetTips.com

The release of .NET Core 3 last month introduces a brand new serializer for JavaScript Object Notation (JSON) under the System.Text.Json namespace. The Microsoft documentation states:

The System.Text.Json namespace provides high-performance, low-allocating, and standards-compliant capabilities to process JavaScript Object Notation (JSON), which includes serializing objects to JSON text and deserializing JSON text to objects, with UTF-8 support built-in. It also provides types to read and write JSON text encoded as UTF-8, and to create an in-memory document object model (DOM) for random access of the JSON elements within a structured view of the data.

docs.microsoft.com

Serialization is used everywhere in programming modern apps
for data sent via web-based API’s, used in ASP.NETview models and even for databases like Cosmos
DBsince its internal storage is JSON. I even
serialize configuration objects to and from disk for apps that I write to store
app and user data.

I would say JSON this…

View original post 437 more words

Leave a comment

Discover more from El Bruno

Subscribe now to keep reading and get access to the full archive.

Continue reading