将Xml转换为Json,反之亦然 [英] Convert Xml to Json and vice versa

查看:95
本文介绍了将Xml转换为Json,反之亦然的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我是一年级学生..打扰一下,我想要一个读取XML并将其转换为Json的程序,反之亦然

请帮忙.. 。在c#或Asp.net中



的想法...

1-create文件夹包含文本文件

2 - 然后读取此文件xml或json

2 - 然后将其转换为json或xml

注意****如果你读xml 然后将其转换为json

注意****如果您阅读json然后将其转换为xml



如果有人可以为我写源代码....请尽可能有时间



请我在2013年3月27日得到答案... ..谢谢你

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

推荐答案

你好abed它的网站在线转换.. !!!!!



http://www.utilities-online.info/xmltojson/#.UVGmLunLosY [< a href =http://www.utilities-online.info/xmltojson/#.UVGmLunLosYtarget =_ blank title =新窗口> ^ ]
Hi abed Its web site that online convert..!!!!!

http://www.utilities-online.info/xmltojson/#.UVGmLunLosY[^]


可以帮助你



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 [ ^ ]

只需复制粘贴第二个链接&你可能会得到答案



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



json官方网站.. !!
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..!!


这篇关于将Xml转换为Json,反之亦然的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆