JSON is equivalent to XML without tags not directly to java.

Though java objects can be marshelled into xml and then to json.

So I guess all collection types are converted into json arrays.

If you see at high level java/javascript object can contain another
object or collection of object or attribute with value.
JSON has these three representations.

-venu
Global School District
http://schoolk12.appspot.com/


On Sep 7, 2:16 am, Alex Luya <[email protected]> wrote:
> I am change RPC to JSON ,Two questions:
> 1,Can I always change ArrayList  to JsArray?In other worlds,JsArray is
> the counterpart of ArrayList,rigth?
> 2,What is the counterpart  of HashMap?Should I construct a new one?or
> any existings?Or any example?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to