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

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

Doug: this will not work when simplejson is not available for Python 2.5 and 
below, but there is no json parsing library in the standard library before 
Python 2.6. It will work when simplejson is not available for Python 2.6 and 
above.

> 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.

Reply via email to