avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Limitations in enum symbols not mentioned in the spec
Date Wed, 27 Feb 2013 19:00:04 GMT
On Wed, Feb 27, 2013 at 10:43 AM, Francis Galiegue <fgaliegue@gmail.com> wrote:
> I was talking about what is allowed in map keys, not values

So was I.

> if map
> keys were able to be anything other than strings, Avro could not be
> mapped to JSON.

Yes, JavaScript is an example of a programming language whose standard
map implementation doesn't provide support for non-string keys.
JavaScript however is not an example of a programming language whose
identifiers permit a only a limited set of characters, since (I
believe) one can escape arbitrary characters in property accessors
when using the dot syntax.

Doug

Mime
View raw message