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.
Example
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.
Example
simplify¶
Converts objects to strictly structured dictionaries.
Example
strictify¶
Applies a strict structural conversion to an object using optional converters for keys and values.
Example
Example
stringify¶
Converts an object into a string representation by recursively processing it based on its type.