On 1/25/07, Chris Hostetter <[EMAIL PROTECTED]> wrote:
: IMO, we should strive to be nice and not repeat keys when the : NamedList is more of the Map variety than the List. we should try .. but we can't garuntee .. i don't have any compelling cases where i've needed to reuse the same name, but i've certainly written plenty of code that puts multiple items in a list that have no name. : > mechanism from the client code like this one -- using XML really is the : > safest bet since it's the most expressive of all the formats we currently : > have) : : JSON responses are smaller and can be quite a bit faster to parse. i won't argue it's not faster or smaller -- just that it's not as expressive :)
True, but for most specific client applications, it doesn't matter because the extra info is redundant. The extra info can be nice for generic applications... (knowing what field is a date field, for example). Erik is solving that in Flare via naming convention I think... -Yonik