c# - Set can we change the name Tag when serializing with Json.net? -


i new in json , using jsonconvert c#, change name of xml tag "builder" "children" using json attributes/properties (i don't know how call it) in xml tag such "json:array='true'" :

input xml:

<information>   <builder json:array='true'>     <condition></condition>     <condition></condition>     <condition></condition>   </builder> </information> 

output json:

{   name:"information",   children:[       {         "name":"builder",         "children:[               {                 "name":"condition"               },               {                 "name":"condition"               },               {                 "name":"condition"               },           ]       }    ] } 

any please, thank you


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -