什么是JSON(简短说明) [英] what is JSON (short explanation)

查看:105
本文介绍了什么是JSON(简短说明)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


hi ...


而标准HTTP请求进行同步调用并且必须等待响应并进行页面重新加载(您总是要显示一个新的html页面)XMLHttpRequest可以使用sync(非典型)和async(更好的方式)而不需要重新加载页面。您可以通过javascript请求响应,响应通常是xml或json数据,您可以使用js处理并通过使用操作文档的dom方法更新页面的某些部分...所以你不要''需要整个页面重新加载,因为所有这些都在''后台''中运行...


亲切的问候





感谢你主持人...

请你解释一下json-Data的清晰图片..

wat这是否意味着?

以及一些获得基本知识的网站...


-Hamsa

解决方案

嗨...


没问题:) ...看看下面的例子,它显示了一个典型的js-object:

展开 | 选择 | 换行 | 行号


嗨......我从HttpRequest-Thread中分离你的JSON问题,因为我觉得它可能对更多用户感兴趣,所以最好找到:)


亲切的问候



hi ...


没问题:)。 ..看看下面的示例,它显示了一个典型的js对象:

展开 | 选择 | Wrap | Line编号

hi ...

while the standard HTTP request makes a ''synchronous'' call and must wait for the response and makes a page-reload (you always get a new html-page to display) a XMLHttpRequest may be used sync (not typical) and async (the better way) without a page-reload. you may ask for the response with javascript and the response is usually xml- or json-data that you may process with js and update parts of your page through the use of dom-methods that manipulate your document ... so you don''t need an entire page-reload because all of that is running in the ''background'' ...

kind regards


Hi,
Thank u moderator...
will u please explain me the clear picture of json-Data..
wat does it mean??
and some sites to get basic knowledge in that...

-Hamsa

解决方案

hi ...

no problem :) ... have a look at the following example that shows you a typical js-object:

Expand|Select|Wrap|Line Numbers


hi ... i splitted your JSON-question from the HttpRequest-Thread because i think it may be of interest for more users and so it would be better to find :)

kind regards


hi ...

no problem :) ... have a look at the following example that shows you a typical js-object:

Expand|Select|Wrap|Line Numbers


这篇关于什么是JSON(简短说明)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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