30
loading...
This website collects cookies to deliver better user experience
Name | Pros | Cons |
---|---|---|
ActiveModelSerializers | Stable, lots of articles and documentations | Slower than others, not maintained actively, complex |
jbuilder | Part of Rails official gems, well maintained | Lots of DSLs to remember, slow when partials are overused |
blueprinter | Simple and fast, supports many features | The terminology is special such as "views" and not easy to understand |
representable | Supports JSON, XML and YAML format and many features | Not fast nor simple |
jb | Very simple, fast | When building complex JSON the code gets complex and hard to read |
blueprinter
and feature set representable
provides, but didn't find them the best possible.blueprinter
and to be as fully featured as representable
.representable
supports this) and circular association control (only ActiveModelSerializers
supports this).