Skip to content

Pys60 port for python-cjson, a very fast JSON encoder/decoder for Python

License

Notifications You must be signed in to change notification settings

shunf4/python-cjson-pys60

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-cjson-pys60
============

This is a ported and modified version of python-cjson which can be found here: https://pypi.python.org/pypi/python-cjson

Differences from upstream:

* Able to be compiled with Python 2.2.2 libraries and run in Python 2.2.2 environment.
* Encapsuled as a pys60v1 module project.
* (Caution) Force any UTF-8 string to be converted to unicode python object. *This is not standard!*
* (Caution) Force any numbers to be loaded as *long*.
* (Caution) Allow dumping unicode python object as "\uxxxx" in JSON string. *This is not standard!* Of course, loading is supported too.

---

This module implements a very fast JSON encoder/decoder for Python.

JSON stands for JavaScript Object Notation and is a text based lightweight
data exchange format which is easy for humans to read/write and for machines
to parse/generate. JSON is completely language independent and has multiple
implementations in most of the programming languages, making it ideal for
data exchange and storage.

The module is written in C and it is up to 250 times faster when compared to
the other python JSON implementations which are written directly in python.
This speed gain varies with the complexity of the data and the operation and
is the the range of 10-200 times for encoding operations and in the range of
100-250 times for decoding operations.

About

Pys60 port for python-cjson, a very fast JSON encoder/decoder for Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 72.8%
  • Python 27.0%
  • Shell 0.2%