Blueprinter

на сайте с December 09, 2022 06:33
Blueprinter is a JSON Object Presenter for Ruby that takes business objects and breaks them down into simple hashes and serializes them to JSON. It can be used in Rails in place of other serializers (like JBuilder or ActiveModelSerializers). It is designed to be simple, direct, and performant. Simple, Fast, and Declarative Serialization Library for Ruby.