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
Post a Comment