Questions tagged [ujson]

UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3.

Ultra fast JSON encoder and decoder for Python

UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3.

For a more painless day to day C/C++ JSON decoder experience please checkout ujson4c, based on UltraJSON.

Please checkout the rest of the projects in the Ultra series: http://github.com/esnme/ultramemcache http://github.com/esnme/ultramysql

To install it just run Pip as usual:

$ pip install ujson

Usage

May be used as a drop in replacement for most other JSON parsers for Python

Source

46 questions
-1
votes
3 answers

Handling json.loads() Value Error in python

when I try to run this code I am experiencing an error. import ujson as json input = '{"a":NaN}' print(json.loads(input)) Error print(json.loads(input)) ValueError: Expected object or value I gone through some blogs and realized that ujson won't…
siva
  • 549
  • 7
  • 25
1 2 3
4