High Performance JSON Serialization for ActiveRecord & Ruby Objects
Panko is a library which is inspired by ActiveModelSerializers 0.9 for serializing ActiveRecord/Ruby objects to JSON strings, fast.
To achieve its performance:
Oj::StringWriter
To dig deeper about the performance choices, read Design Choices.
The gem is available as open source under the terms of the MIT License.