oj_serializers icon indicating copy to clipboard operation
oj_serializers copied to clipboard

⚡️ Faster JSON serialization for Ruby on Rails. Easily migrate away from Active Model Serializers.

Results 7 oj_serializers issues
Sort by recently updated
recently updated
newest added

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...

Where would be the right place to instrument the 'total time spent serializing per request/controller action'?

Hello, I'm migrating a project from `active_model_serializer` to improve speed of json generation and noticed that attribute sorting doesn't work correctly when my new oj serializer has more than 10...

Address issue https://github.com/ElMassimo/oj_serializers/issues/24

This PR adds configuration ```ruby OjSerializers.configure do |config| config.cache = SomeCacheModule.new end ``` and adds cache_options ```ruby class SomeSerializer < Oj::Serializer attributes :id, :name end class CachedSomeSerializer < SomeSerializer cached(cache_key:...

Hey 👋🏼 First off, this is a great gem! I have enjoyed working with it. I started caching my serializer using the `cached` macro. As I understand from the documentation,...

I've noticed that if you have the following: ```ruby class PostSerializer < Oj::Serializer attribute :title end ``` You get an error: ```ruby undefined local variable or method `title' for #...

enhancement