Convert XML to JSON and force array with C# Newtonsoft
Sometime you need to serialize a Xml document to JSON string, and you want some nodes will be serialize as an array always. Xml document: <School Name="Havard"> <Class Name="Math"> <Student ID="1" Name="John" /> <Student ID="2" Na...
May 1, 20222 min read