James Gardner: Home > Work > Code > NestedRecord > 0.3.0 > API Documentation

NestedRecord v0.3.0 documentation

API Documentation

nestedrecord.decode(data, depth=None, dict_type=<type 'dict'>, list_type=<type 'list'>, start_list_part='[, ', end_list_part='], ', strict=False)
Takes a flat dictionary with appropriately encoded keys and decodes it to a Python data structure of dictionaries and lists (not records and and lists of records).
nestedrecord.decodeNestedRecord(raise_on_error=True, *k, **p)
nestedrecord.encode(data, partial=False, dict_type=<type 'dict'>, start_list_part='[, ', end_list_part='], ', strict=False)
Encodes a data structure of nested records to a flat structure.
nestedrecord.encodeNestedRecord(raise_on_error=True, *k, **p)
James Gardner: Home > Work > Code > NestedRecord > 0.3.0 > API Documentation