我们何时/何时使用JSON? [英] Where/when we use JSON?

查看:94
本文介绍了我们何时/何时使用JSON?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请告诉我,JSON的用途是什么(在Javascript和PHP中)。
当我们需要JSON方法时。



我从以下链接读取但是,我没有得到任何关于任何项目的JSON实现的信息。 / p>

http://www.json.org/js .html

解决方案

JSON是一种轻量级数据交换格式(在节食时将其视为XML) )。基本上任何可以使用XML来序列化数据的地方都可以使用JSON。


Could you please tell me, what is the use of JSON (in Javascript and PHP). when we need a JSON method.

I read from the following link but, i didn't get any information regarding the JSON implementation on any project.

http://www.json.org/js.html

解决方案

JSON is a light-weight data-interchange format (think of it as XML on a diet). Basically any place where you can use XML for serializing data you can use JSON instead.

这篇关于我们何时/何时使用JSON?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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