attr_json VS jsonb_accessor

Compare attr_json vs jsonb_accessor and see what are their differences.


Serialized json-hash-backed ActiveRecord attributes, super smooth (by jrochkind)


Adds typed jsonb backed fields to your ActiveRecord models. (by madeintandem)
Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
attr_json jsonb_accessor
4 6
373 885
- 7.3%
5.5 7.3
2 months ago 18 days ago
Ruby Ruby
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.


Posts with mentions or reviews of attr_json. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-05.


Posts with mentions or reviews of jsonb_accessor. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-12.

What are some alternatives?

When comparing attr_json and jsonb_accessor you can also consider the following projects:

tf2pulumi - A tool to convert Terraform projects to Pulumi TypeScript programs

Marten - .NET Transactional Document DB and Event Store on PostgreSQL

Scenic - Versioned database views for Rails

ActiveRecord Setops - Union, Intersect, and Difference set operations for ActiveRecord (also, SQL's UnionAll).

StoreModel - Work with JSON-backed attributes as ActiveRecord-ish models

PublicActivity - Easy activity tracking for models - similar to Github's Public Activity

SearchCop - Search engine like fulltext query support for ActiveRecord

Mobility - Pluggable Ruby translation framework

magic-modules - Generate Google Cloud Platform support for Terraform, Ansible, InSpec

superstore - ActiveModel for JSONB documents