The New JSON Serializer in .NET Core 3

dotNetTips.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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: