Transformers¶
Abstract
Transformers are functions that reshape an object, while maintaining the consistency of the structure.
listify¶
Transforms complex objects into a list of dictionaries with key and value pairs.
minify¶
The minify function is used to shorten the keys of an object using a specified alphabet. This function can be particularly useful for reducing the size of data structures, making them more efficient for storage or transmission.
simplify¶
Converts objects to strictly structured dictionaries.
strictify¶
Applies a strict structural conversion to an object using optional converters for keys and values.
Example 1¶
Example 2¶
stringify¶
Converts an object into a string representation by recursively processing it based on its type.