Click here to Skip to main content
14,599,597 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hello
I am a first year student .. Excuse me, I want a program that reads XML and converts it to Json and vice versa
Please help ... in c# or Asp.net

the idea...
1-create folder contain text file
2-then read from this file "xml or json"
2-then convert it into "json or xml"
Note****if you read "xml" then convert it to "json"
Note****if you read "json" then convert it to "xml"

if anyone can write the source code for me ....please if you can and have time

please i want the answer in 27/3/2013 .....and thank you
Posted
Comments
   
May I ask why, why not simply use one or another?
—SA
Rate this:
Please Sign up or sign in to vote.

Solution 1

Hi abed Its web site that online convert..!!!!!

http://www.utilities-online.info/xmltojson/#.UVGmLunLosY[^]
   
Comments
abed eshtiwi 26-Mar-13 9:53am
   
thank you sukhadiya ....but i want to use APi to convert this ,,,
Rate this:
Please Sign up or sign in to vote.

Solution 2

May be this help you

1. https://blog.apigee.com/detail/why_xml_wont_die_xml_vs._json_for_your_api[^]

2. http://docs.cpanel.net/twiki/bin/view/SoftwareDevelopmentKit/XmlApi[^]
just copy paste this 2nd link & you might get answer

3.http://www.json.org/xml.html[^]

Official website for json..!!
   
Comments
abed eshtiwi 26-Mar-13 10:41am
   
i am trying to do this by using Web service "Asp.net" ...i hope i can do it
Dhruvin Sukhadiya 26-Mar-13 11:20am
   
ya best luck....!!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100