Skip to main content

Wraps the best JSON installed, falling back on an internal simplejson.

Project description

The Problem

# Python 2.5.4 (r254:67916, Jun 24 2010, 21:47:25)

>>> import anyjson
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/kreitz/.virtualenvs/25/lib/python2.5/site-packages/anyjson/__init__.py", line 127, in <module>
    raise ImportError("No supported JSON module found")
ImportError: No supported JSON module found

The Solution

# Python 2.5.4 (r254:67916, Jun 24 2010, 21:47:25)

>>> import omnijson as json
# \o/

Features

  • Loads whichever is the fastest JSON module installed

  • Falls back on built in pure-python simplejson, just in case.

  • Proper API (loads(), dumps())

  • Verndorizable

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omnijson-0.1.0.tar.gz (15.7 kB view details)

Uploaded Source

File details

Details for the file omnijson-0.1.0.tar.gz.

File metadata

  • Download URL: omnijson-0.1.0.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for omnijson-0.1.0.tar.gz
Algorithm Hash digest
SHA256 29609245cdc28695c1a62344e475c177f1aefbf17e199e9406cdb01e01141224
MD5 c6311fc2789375ebfb6fc702db240ce5
BLAKE2b-256 b81b49e528ea79187c4fa9d47ada72aafe1bf0dc810ab9a6d472e1840c36e8f4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page