k***r 发帖数: 4260 | 1 只用过org.json,那时候只有这个,感觉一般。现在json.org上有很多,
大家推荐个decoding最好用的吧,不需要很快,容易access JSON object's
properties就行。 |
m******t 发帖数: 2416 | 2
Not sure what you mean by that - how much easier
do you need than obj.prop or obj['prop']?
8-)
【在 k***r 的大作中提到】 : 只用过org.json,那时候只有这个,感觉一般。现在json.org上有很多, : 大家推荐个decoding最好用的吧,不需要很快,容易access JSON object's : properties就行。
|
g*****g 发帖数: 34805 | 3 Maybe DWR is what he's looking for? I used to use that to integrate
Dojo. On client side, it can't be simpler. On server side, it does
make it transparent. json marshalling is done by the framework via
spring declaration. So you don't really need to know anything about
json at all.
【在 m******t 的大作中提到】 : : Not sure what you mean by that - how much easier : do you need than obj.prop or obj['prop']? : 8-)
|
k***r 发帖数: 4260 | 4 Which library are you talking about ah? I don't remember
using it that way in org.json ... then I only used it
a few years ago. Maybe it improved?
【在 m******t 的大作中提到】 : : Not sure what you mean by that - how much easier : do you need than obj.prop or obj['prop']? : 8-)
|
k***r 发帖数: 4260 | 5 Probably not. I'm not working on web UI. I'm thinking of
using a JSON file or .INI file as config file.
【在 g*****g 的大作中提到】 : Maybe DWR is what he's looking for? I used to use that to integrate : Dojo. On client side, it can't be simpler. On server side, it does : make it transparent. json marshalling is done by the framework via : spring declaration. So you don't really need to know anything about : json at all.
|
m******t 发帖数: 2416 | 6
org.json seems perfectly capable of handling that?
Or do you really have some complex object graph?
【在 k***r 的大作中提到】 : Probably not. I'm not working on web UI. I'm thinking of : using a JSON file or .INI file as config file.
|
k***r 发帖数: 4260 | 7 I'm sure it is. Just want to find the best library
in the long list. But I'll revisit org.json for sure.
【在 m******t 的大作中提到】 : : org.json seems perfectly capable of handling that? : Or do you really have some complex object graph?
|
p****d 发帖数: 2183 | 8 jabsorb? 好像是org.json的升级
正在处理一些很SB的json<->javabean的事情,还成 |