C# - Force json conversion to always create arrays -


i need serialize xml json before returning client. using: json = jsonconvert.serializexmlnode(xmldocument);

a problem when xml element "elem1" has single child folder child added elem1 object rather array 1 member. there way of enforcing that?

thanks


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -