oj_serializers icon indicating copy to clipboard operation
oj_serializers copied to clipboard

Deep transform_keys

Open mjkaufer opened this issue 3 months ago • 1 comments

If I have some nested data (i.e. posts -> user), I don't think there's currently a way to recursively apply transform_keys :camelize without writing a serializer for each sub-component (which can be tedious in more complex data models)

Are there plans to add a version of transform_keys :camelize that applies to every nested key of arbitrary depth?

mjkaufer avatar Apr 03 '24 18:04 mjkaufer