Metadata-Version: 1.1
Name: asjson
Version: 2.0.0
Summary: json.dumps with datetime, date and bson.ObjectId support
Home-page: https://github.com/imbolc/asjson
Author: Imbolc
Author-email: imbolc@imbolc.name
License: ISC
Description: asjson
        ======
        json.dumps with datetime, date and bson.ObjectId support
        
            >>> from datetime import datetime, date
            >>> import asjson
            >>> import bson
        
            >>> asjson.dumps([datetime(2013, 1, 27, 6, 48, 0, 38835),
            ...               bson.ObjectId('aaaaaaaaaaaaaaaaaaaaaaaa')])
            '["2013-01-27T06:48:00.038835", "aaaaaaaaaaaaaaaaaaaaaaaa"]'
        
        
        
        Debug mode
        ----------
        Shortcut for json.dumps(obj, indent=4, sort_keys=True, ensure_ascii=False)
        
            >>> asjson.dumps({'foo': 1, 'bar': 2}, debug=True)
            '{\n    "bar": 2,\n    "foo": 1\n}'
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: ISC License (ISCL)
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
