oj_serializers
hal_presenter
oj_serializers | hal_presenter | |
---|---|---|
1 | 1 | |
101 | 5 | |
- | - | |
6.2 | 3.9 | |
7 months ago | over 2 years ago | |
Ruby | Ruby | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
oj_serializers
-
Fast JSON serializers with automatic TypeScript generation
Recently, with the expansion to generate TypeScript automatically, plus the latest release with further performance improvements, it became a well rounded library.
hal_presenter
-
Rails API Building: The Resourceful Way
Cool! Looking forward to the next article! May I suggest that you use a mediatype that supports links. Then it's easier to use an existing library for handling the (de)serialization. I know you don't like to add gem dependencies, but I'm just gonna throw out https://github.com/sammyhenningsson/hal_presenter anyway 😂 Sorry
What are some alternatives?
shale - Shale is a Ruby object mapper and serializer for JSON, YAML and XML. It allows you to parse JSON, YAML and XML data and convert it into Ruby data structures, as well as serialize data structures into JSON, YAML or XML.
amq-protocol - AMQP 0.9.1 protocol serialization and deserialization implementation for Ruby (2.0+)
Blueprinter - Simple, Fast, and Declarative Serialization Library for Ruby
YASL - Yet Another Serialization Library - A pure Ruby auto-serialization library that works across different Ruby implementations like Opal and JRuby as an automatic alternative to YAML/Marshal. Unlike Marshal, it does not raise errors for unserializable objects, thus provides a highly productive friction-free auto-serialization experience.
JSONAPI::Utils - Build JSON API-compliant APIs on Rails with no (or less) learning curve.
panko_serializer - High Performance JSON Serialization for ActiveRecord & Ruby Objects
SimpleAMS - Fast modern plain Ruby serializers using zero dependencies