Building a Rails 5 JSON-based API? Easily transform incoming and outgoing JSON keys
API clients send and receive camelCase formatted keys. Your Ruby API code uses snake_case keys. Just add this gem: json_key_transformer_middleware
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
API clients send and receive camelCase formatted keys. Your Ruby API code uses snake_case keys. Just add this gem: json_key_transformer_middleware
Post a comment