3 ms·
I'm surprised there was no mention of Blueprinter (https://github.com/procore/blueprinter https://github.com/procore/blueprinter), a format-agnostic, maintained
by cguess 6y ago
I'm surprised there was no mention of Blueprinter (https://github.com/procore/blueprinter https://github.com/procore/blueprinter), a format-agnostic, maintained serializer that's very obviously a successor to the ActiveModelSerializer that is mentioned.
Personally, I don't like fast_jsonapi because it's impossible to retrofit an app that already exists to it. The standard is so specific (and, in my opinion overkill unless you're Netflix) that it's just not the right fit for a lot of APIs.
- syspec 6y agoAgreed. I used fast_jsonapi on a project, and while I liked it, I felt that I had to change my project to work a round it and not the other way around. For my next project, I used `blueprinter`, which seems to be pretty fast in its own right (there was no discernible difference from what I could tell). Overall I i'd like to give fast_jsonapi another try, but only once I see serialization is my bottleneck