Adding $type to System.Text.Json Serialization like in Newtonsoft for Dynamic Object Properties
This article describes a technique to serialize models containing dynamic types with System.Text.Json JsonSerializer, that doesn’t support $type.
This article describes a technique to serialize models containing dynamic types with System.Text.Json JsonSerializer, that doesn’t support $type.