yosiat / panko_serializer

High Performance JSON Serialization for ActiveRecord & Ruby Objects
https://panko.dev
MIT License
592 stars 36 forks source link

Add configuration with camelizing keys #160

Open kortirso opened 4 months ago

kortirso commented 4 months ago

close https://github.com/yosiat/panko_serializer/issues/52

to camelize keys rails application can have initializer

Panko.configure do |config|
  config.key_type = 'camelCase'
end

@yosiat what do you think?

kortirso commented 1 month ago

This will be the last round of the CR.

Thanks again for your contribution.

@yosiat I made last changes, maybe it's better for you to change documentation in your way thank you for considering these changes