Option to Treat XML Child Nodes always as Arrays to JSON

Oct 2, 2012 at 8:50 PM

I work with an XML database that doesn't have properly formatted XML for everything. In certain cases I have XML arrays that could be a SINGLE child node. There is another library that handles this in Javascript using "Extended Mode", which just treats every child as an array...

http://www.fyneworks.com/jquery/xml-to-json/#tab-Examples

 Look at Extended Mode

 

Is there any way I can do this with JSON.NET?