Metadata-Version: 2.1
Name: nr.databind.json
Version: 0.0.14
Summary: Deserialize JSON into Python objects and reverse.
Home-page: https://git.niklasrosenstein.com/NiklasRosenstein/nr
Author: Niklas Rosenstein
Author-email: rosensteinniklas@gmail.com
License: MIT
Description: 
        > Note: This package is in the dangerous land of `0.x.y` versions and may be subject to breaking
        > changes with minor version increments.
        
        > This package is superseded by [databind.core](https://pypi.org/project/databind.core/).
        
        # nr.databind.json
        
        The `nr.databind.json` package implements (de-) serializers for nested payloads that usually
        result from loading JSON-formatted data.
        
        See also [nr.databind.core](https://git.niklasrosenstein.com/NiklasRosenstein/nr/src/branch/master/nr.databind.core).
        
        ## Example
        
        ```py
        from nr.databind.core import Field, Struct, ObjectMapper
        from nr.databind.json import JsonModule
        
        class Person(Struct):
            name = Field(str, prominent=True)
            age = Field(int)
            address = Field(str, default=None)
        
        mapper = ObjectMapper(JsonModule())
        print(mapper.deserialize({'name': 'John Wick', 'age': 48, 'address': 'Wicked St.'}))  # Person(name='John Wick')
        ```
        
        ---
        
        <p align="center">Copyright &copy; 2020 Niklas Rosenstein</p>
        
Platform: UNKNOWN
Description-Content-Type: text/markdown
