Josef Ottosson

Freelancing Developer ยท Microsoft MVP

Subscribe via RSS
© Josef Ottosson 2023
Ghost & StayPuft

System.Text.Json

A collection of 3 posts

Protect yourself when deserializing - System.Text.Json
dotnet core

Protect yourself when deserializing - System.Text.Json

When dealing with deserialization of JSON, it's always a good idea to validate that it in fact deserialized correctly. But, how do you do that using System.Text.Json?

5 months ago November 10th, 2022 5 min read
Polymorphic deserialization with System.Text.Json
dotnet core

Polymorphic deserialization with System.Text.Json

How to do polymorphic deserialization with System.Text.Json by using a custom JsonConverter

2 years ago December 20th, 2020 8 min read
Custom Dictionary JsonConverter using System.Text.Json
dotnet

Custom Dictionary JsonConverter using System.Text.Json

How to customize the deserialization/serialization of Dictionary using System.Text.Json and a custom JsonConverter

3 years ago August 16th, 2020 8 min read
Subscribe via RSS
© Josef Ottosson 2023
Ghost & StayPuft