SimpleAMS

Fast modern plain Ruby serializers using zero dependencies (by vasilakisfil)

SimpleAMS Alternatives

Similar projects and alternatives to SimpleAMS

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better SimpleAMS alternative or higher similarity.

SimpleAMS reviews and mentions

Posts with mentions or reviews of SimpleAMS. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-31.
  • Show HN: Shale – a Ruby object mapper and serializer for JSON, YAML and XML
    8 projects | news.ycombinator.com | 31 May 2022
    Serialization/deserialization is such an important part of web development, I have no idea why Rails includes the ancient JBuilder (and very slow since it goes through templating) library, instead of investing in a proper library. Let alone deserializing which is equally important..

    I think the API Shale provides is pretty sane. I would probably use it in my next Ruby/Rails project. I don't like the fact that Nokogiri is included by default, it would be nice to declare a core type, and then bring in what you need (JSON, XML, YAML) as a different gem. But that's not a deal breaker for me.

    I have created my own serializers in the past (SimpleAMS[1]) because I really detested AMS, no offence to AMS contributors, but AMS library should just die. Rails, and way more importantly Ruby, should come up with an "official" serializers/deserializers library that is flexible enough, rock solid and fast. For instance I had done some benchmarking among common serializer libraries [2] and AMS was crazy slow, without providing much flexibility, really (meaning, slowness is not justified). Others were faster, but were supporting only one JSON spec format (like jsonapi-rb).

    Another thing is that most serialization libraries seem to have ActiveSupport as a main dependency (not shale though) which I think is a bit too much, and actually has a performance hit on the methods it provides. I really think that Ruby community can do better here ?

    [1] https://github.com/vasilakisfil/SimpleAMS

Stats

Basic SimpleAMS repo stats
1
238
0.0
over 2 years ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com