Text.JSON Questions

Andrew Wagner wagner.andrew at gmail.com
Tue Jul 29 13:32:16 EDT 2008


> I'm unclear on the design goals of parameterizing JSObject.  Why isn't
> JSObject just a list of (String,JSValue) tuples?  What do we get from
> parameterizing it?
>

Not to be pedantic, but if you want to represent the JSObject as a
simple datatype like this, it should probably be a Map String JSValue,
not a list, since JSON objects are inherently unordered.


More information about the Libraries mailing list