avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Hammerbacher (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-240) For Python 2.6 and above, use "json" module from stdlib instead of simplejson
Date Wed, 25 Nov 2009 17:22:39 GMT

    [ https://issues.apache.org/jira/browse/AVRO-240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782518#action_12782518
] 

Jeff Hammerbacher commented on AVRO-240:
----------------------------------------

While we can have an accelerated implementation (cf. Thrift's binary protocol) and do significant
benchmarking at AVRO-217, I think the best practice right now is to use the standard library.

> For Python 2.6 and above, use "json" module from stdlib instead of simplejson
> -----------------------------------------------------------------------------
>
>                 Key: AVRO-240
>                 URL: https://issues.apache.org/jira/browse/AVRO-240
>             Project: Avro
>          Issue Type: Improvement
>          Components: python
>            Reporter: Jeff Hammerbacher
>            Assignee: Jeff Hammerbacher
>         Attachments: AVRO-240.patch
>
>
> As described at http://bob.pythonmac.org/archives/2008/10/02/python-26-released-now-with-json/:
> # Use simplejson or Python 2.6 json, prefer simplejson.
> try:
>     import simplejson as json
> except ImportError:
>     import json

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message