Metadata-Version: 1.1
Name: standardjson
Version: 0.3.1
Summary: JSON encoder that aims to be fully compliant with specifications ECMA-262 and ECMA-404.
Home-page: https://github.com/audreyr/standardjson
Author: Audrey Roy
Author-email: audreyr@gmail.com
License: BSD
Description: ===============================
        standardjson
        ===============================
        
        .. image:: https://badge.fury.io/py/standardjson.png
            :target: http://badge.fury.io/py/standardjson
            
        .. image:: https://travis-ci.org/audreyr/standardjson.png?branch=master
                :target: https://travis-ci.org/audreyr/standardjson
        
        .. image:: https://pypip.in/d/standardjson/badge.png
                :target: https://pypi.python.org/pypi/standardjson
        
        
        JSON encoder fully compliant with the ECMA-262 and ECMA-404 specifications.
        
        * Free software: BSD license
        * Documentation: http://standardjson.readthedocs.org.
        
        Features
        --------
        
        Support for all objects that the Python stdlib's `json.JSONEncoder` can encode, plus:
        
        * `datetime.datetime`
        * `datetime.date`
        * `datetime.time`
        * `decimal.Decimal`
        
        Works on Python 2.6, 2.7, 3.3. Probably works on 3.4 and 3.5 but I haven't set up tests for those with Tox yet.
        
        Quickstart
        ----------
        
        Use `StandardJSONEncoder` as you would use `json.JSONEncoder` from the Python standard library::
        
            >>> import datetime
            >>> import json
            >>> from standardjson import StandardJSONEncoder
        
            >>> json.dumps({'day': datetime.date(2010, 2, 17)}, cls=StandardJSONEncoder)
            '{"day": "2010-02-17"}'
        
        
        
        
        History
        -------
        
        0.3.1 (2014-05-21)
        ------------------
        
        * Full rename to `standardjson` (missed some files in 0.3.0).
        
        0.3.0 (2014-05-21)
        ------------------
        
        * Rename package to `standardjson`.
        * `StandardJSONEncoder` is now in `encoders` module.
        * Encoder functions are now in `encoder_funcs` module.
        
        0.2.0 (2014-05-20)
        ------------------
        
        * Full implementation with tests.
        * Separate `encoders` module for encoder functions.
        * Bump to Alpha.
        
        0.1.0 (2014-05-18)
        ------------------
        
        * First release on PyPI.
Keywords: standardjson
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
