Convert XML to JSON and force array with C# NewtonsoftSometime 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, 2022 · 2 min readthienp.hashnode.dev