flatson
flatson copied to clipboard
Add a transform option
It would be nice to have an option to transform a field before flattening.
This could be configured through the schema, flatson_transform
could allow to send a Python expression that would transform the value before serializing.
Useful for lists, objects or things with mixed-types.