How to serialize properties into separate Json using System.Text.Json in C#?
I am trying to serialize and deserialize a class (say A) into Json. The class has multiple properties (say X1, X2, X3) which are object instances (of class X) which contains large lists. public class A { public X X1…