[rabbitmq-discuss] JSON dependency for codegen - suggestion

Holger Hoffstätte holger at wizards.de
Wed Nov 19 23:32:25 GMT 2008


Esteve Fernandez wrote:
> On Wednesday 19 November 2008 23:52:17 Holger Hoffstätte wrote:
>> The above is with 2.6; I get exactly the same message on 2.5/Linux after
>> installing simplejson, so at least it's consistent.
> 
> simplejson doesn't seem to like the comment at the top of the file, if you 
> remove it, codegen.py will definitely work.

You're right - the validator at http://www.jsonlint.com/ also complains,
so it seems that Patrick Logan's json-py silently ignores comments whereas
the newer parsers correctly throw errors. Good to know.

-h





More information about the rabbitmq-discuss mailing list