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<class<student<student id="2" na...



Read: https://thienp.hashnode.dev/convert-xml-to-json-and-force-array-with-c-newtonsoft