什么是JSON,在开发中很有用 [英] What is JSON, when it is useful in dovelopment

查看:139
本文介绍了什么是JSON,在开发中很有用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想了解JSON,我们如何在应用程序中使用它

请提供一些示例.

在此先谢谢您

I want to know JSON , how we can use it in our application

please provide me some examples.

Thanks in advance

推荐答案

您是否已经访问过 http://www.json.org / [ ^ ]并通过http://www.json.org/example.html [ ^ ].

CP也有很多有关JSON或使用JSON的文章: http://www.codeproject.com/info/search.aspx?artkw=json&sbo=kw&usfc=false [
Have you already visited http://www.json.org/[^] and looked through http://www.json.org/example.html[^].

CP also has lots of articles about JSON or using it: http://www.codeproject.com/info/search.aspx?artkw=json&sbo=kw&usfc=false[^].

I believe that looking quickly through the articles you''ll get good examples how/where to use JSON.


您可以将JSON视为序列化对象的JavaScript方式.在JavaScript中,JSON是一种简单的交流方式.

当您希望某个网页与服务器通信(没有回发或类似内容)时,您将使用JavaScript.您可能需要使用JSON作为语言"来设置该通信.

爱德华(Eduard)
You can see JSON as the JavaScript way of serializing objects. In JavaScript, JSON is the easy way of communicating.

When you want a certain webpage to communcate with the server (without postbacks or that kind of stuff), you''re going to use JavaScript. You may want to use JSON as a ''language'' to setup that communication.

Eduard


问题并非完全不正确,但可以大大改善.除了询问JSON之外,您最好问一下:
什么是Wikipedia,Google,CodeProject和StackOverflow.com?"
如果您提出要求并获得了很好的答案,就不需要像您原来的问题了!

—SA
The Question in not completely incorrect, but can be greatly improved. Instead of asking about JSON, you could better ask:
"What are Wikipedia, Google, CodeProject and StackOverflow.com?"
If you asked and got good Answers, the Questions like your original one would not be needed!

—SA


这篇关于什么是JSON,在开发中很有用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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