Metadata-Version: 2.4
Name: JsonWeb
Version: 0.8.2
Summary: Quickly add json serialization and deserialization to your python classes.
Home-page: 
Author: Shawn Adams
Author-email: 
License: BSD
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: keywords
Dynamic: license
Dynamic: summary

JsonWeb 
========

.. image:: https://travis-ci.org/boris317/JsonWeb.png?branch=master
   :target: https://travis-ci.org/boris317/JsonWeb

Add JSON (de)serialization to your python objects ::

    >>> from jsonweb import decode, encode
    
    >>> @encode.to_object()
    ... @decode.from_object()
    ... class User(object):
    ...     def __init__(self, nick, email):
    ...         self.nick = nick
    ...         self.email = email
    
    >>> json_str = encode.dumper(User("cool_user123", "cool_user123@example.com"))
    >>> print json_str
    {"nick": "cool_user123", "__type__": "User", "email": "cool_user123@example.com"}
    
    >>> user = decode.loader(json_str)
    >>> print user.nick
    cool_user123
    >>> print user
    <User object at 0x10145e390>
    
.. note ::

    JsonWeb is still very much under development. Things will change.

See  `documentation <http://www.jsonweb.info/>`_

