panko_serializer

0.8.3last stable release 1 month ago
Complexity Score
Medium
Open Issues
25
Dependent Projects
0
Weekly Downloadsglobal
195

License

  • MIT
    • Yesattribution
    • Permissivelinking
    • Permissivedistribution
    • Permissivemodification
    • Nopatent grant
    • Yesprivate use
    • Permissivesublicensing
    • Notrademark grant

Downloads

Readme

Panko

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 - Panko relies on Oj since it’s fast and allows for incremental serialization using Oj::StringWriter
  • Serialization Descriptor - Panko computes most of the metadata ahead of time, to save time later in serialization.
  • Type casting — Panko does type casting by itself, instead of relying on ActiveRecord.

To dig deeper about the performance choices, read Design Choices.

Support

  • Documentation
  • Getting Started

License

The gem is available as open source under the terms of the MIT License.

Dependencies

CVE IssuesActive
0
Scorecards Score
4.80
Test Coverage
No Data
Follows Semver
Yes
Github Stars
596
Dependenciestotal
3
DependenciesOutdated
0
DependenciesDeprecated
0
Threat Modelling
No
Repo Audits
No

Learn how to distribute panko_serializer in your own private RubyGems registry

gem install panko_serializer
Processing...
Done

49 Releases

RubyGems on Cloudsmith

Getting started with RubyGems on Cloudsmith is fast and easy.