[rabbitmq-discuss] JSON dependency for codegen - suggestion
Esteve Fernandez
esteve at sindominio.net
Wed Nov 19 23:26:51 GMT 2008
On Thu, Nov 20, 2008 at 12:15:51AM +0100, Holger Hoffstätte wrote:
> >> Would it be possible to add the json.py to the -codegen project? That
> >> would make things much easier, probably also for the other client libs.
> >
> > That would still be nice, provided we can figure out how to make it work
> > with python 2.6.
>
> OK so the quick & easy workaround is to add the old json-py to the codegen
> project AND rename it to (say) amqp_json.py. That prevents the name clash
> with the 2.6 version and allows using one working (?) version everywhere.
>
> Still curious why (simple)json complains - isn't this supposed to be easy
> to parse?
Actually, the AMQP spec file is not standard, as JSON doesn't support
comments.
Cheers.
More information about the rabbitmq-discuss
mailing list