I used recursion and reflection to make this serializer. It was a brainstorming project in the early stage of my c# programming journey.
Md-Faisal-Mahmud/custom-xml-serializer
It serializes a c# object to JSON. I did it from scratch using recursion & reflection c#.
C#MIT