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
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
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
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
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?