JSON和循环数据结构...... [英] JSON and the cyclical data structures...

查看:114
本文介绍了JSON和循环数据结构......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

欢迎

按照建议,我调查了JSON项目并且感到很惊讶但是...


周期性数据结构怎么样 - 任何人都遇到了一些

项目?

是否有任何令人满意的推荐...


PS我准备使用JSON作为数据/对象交换当使用AJAX

和我的J2EE项目时 - 因为它比XML表示更容易遍历JavaScript

对象(当然可能会争辩)。


祝你好运......

LM

Welcome
As suggested i looked into JSON project and was amazed but...

What about cyclical data structures - anybody was faced it in some
project ?
Is there any satisactional recomendation...

PS i am ready to use JSON as data/object interchange when using AJAX
and my J2EE project - because it is easier to traverse the JavaScript
object than its XML representation (so of course may argue).

Best regards...
LM

推荐答案

我想更多关于它一个问题自己一个问题 - 是否有任何JSON

扩展,它做了一点点:

- 构造对象作为名称/值对;

- 将数组构造为值;


扩展功能将添加JavaScript函数到JSON

用Java实现并将其发送到浏览器javascript代码生成

附加功能 - 具有数组和功能的对象!


最好的考虑。

PS可能我将在
Java ...

As i think more about it a askem myself a question - is there any JSON
extension which does a little more than:
- construction of object as name/value pairs;
- construction of arrays as values;

The extended functionality would be adding JavaScript functions to JSON
implemented in Java and send it to browser javascript code to produce
additional functionality - an object with arrays and functions !

Best regard.
PS probably i will add this functionality in JSON implementation in
Java...


Luke Matuszewski写道:
Luke Matuszewski wrote:
扩展功能将添加JavaScript函数JSON
用Java实现并将其发送到浏览器javascript代码以生成附加功能 - 具有数组和函数的对象!


如果我们正在谈论Java,那么让我们用Java来说:远程方法调用

(RMI)技术: - )


JSON是一个好主意,但恕我直言,作者只是打开门,

停在门口。


JSON ++(现在确实非常需要)应该完全可靠

对象序列化/反序列化,这样你就可以将对象发送到

服务器并将其全部填回所需的数据。


***和***


我想我是作者的杀人文件但也许是某人会告诉他:

他有没有想过为什么最近有这么多关于从文件/更改脚本src插入

脚本的请求?


作者只是回答了这些请求并询问为什么你需要它?b $ b需要它?


你还没有得到它?人们在< script>上做AJAX使用JASON

作为传输媒体!

人们正在使用愚蠢的相同域名

XMLHttpRequest的限制越来越频繁。这一切现在取决于传入的

IE 7.0 / FF 1.5:如果是相同的域名限制将被保留(并且

它看起来像那样)它可能是AJAX衰落的开始和

重用JASON ++,其中将构建脚本源处理进入

包本身。

PS可能我会在JSON实现中添加此功能
The extended functionality would be adding JavaScript functions to JSON
implemented in Java and send it to browser javascript code to produce
additional functionality - an object with arrays and functions !
If we''re talking Java, let''s say it in Java: Remote Methods Invocation
(RMI) technics :-)

JSON is a great idea, but IMHO the author just open the door and
stopped in the door step.

JSON++ (which is indeed badly needed now) should make full reliable
object serialization / deserialization so you could send an object to
server and get it back all filled with needed data.

*** and ***

I guess I''m in the author''s kill-files but maybe someone will tell him:
did he ever wondered why so many requests recently about inserting
script from file / changing script src ?

The author is just answering on such requests and asking "Why do you
need it?".

You did not get it yet? People are doing AJAX over <script> using JASON
as the transport media!
People are hitting the stupid "same domain" limitation of
XMLHttpRequest more and more often. It all depends now of the incoming
IE 7.0 / FF 1.5: if the "same domain" limitation will be preserved (and
it looks like that) it may be the beginning of the decline of AJAX and
reuse of JASON++ where the script source handling will be build in into
package itself.
PS probably i will add this functionality in JSON implementation in




你很欢迎;-)



You are very welcome ;-)


我把JSON称为JASON


我的错:

< http://www.crockford.com/JSON/index.html>


绝对是美国亚文化的破坏性影响(但

第一部电影真的很酷)

:-D

I called JSON as "JASON"

My fault:
<http://www.crockford.com/JSON/index.html>

Definitely a spoiling influence of the American sub-culture (but the
first movie is really cool)
:-D


这篇关于JSON和循环数据结构......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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