Metadata-Version: 1.0
Name: dodge
Version: 0.1.3
Summary: Create data objects that can be easily converted to and from dicts suitable for use as JSON
Home-page: http://github.com/mwilliamson/dodge.py
Author: Michael Williamson
Author-email: UNKNOWN
License: UNKNOWN
Description: Dodge
        =====
        
        Dodge is a Python library that allows easy creation of data objects.
        These data objects can then be converted from and to dictionaries,
        allowing easy JSON serialisation.
        
        Example
        -------
        
        ::
        
            import dodge
        
            Instrument = dodge.data_class("Instrument", [
                "name",
                "material",
            ])
        
        
            saxophone = Instrument("saxophone", "brass")
        
            serialised_saxophone = dodge.obj_to_dict(saxophone)
            unserialised_saxophone = dodge.dict_to_obj(serialised_saxophone)
        
            print unserialised_saxophone.material # Prints "brass"
        
        License
        -------
        
        `2-Clause BSD <http://opensource.org/licenses/BSD-2-Clause>`_
        
Keywords: data object serialise serialisation json
Platform: UNKNOWN
