jsonb_accessor VS attr_json

Compare jsonb_accessor vs attr_json and see what are their differences.

jsonb_accessor

Adds typed jsonb backed fields to your ActiveRecord models. (by madeintandem)

attr_json

Serialized json-hash-backed ActiveRecord attributes, super smooth (by jrochkind)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
jsonb_accessor attr_json
10 7
1,081 508
1.3% -
6.5 6.8
17 days ago about 2 months 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.

jsonb_accessor

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 2023-03-14.

attr_json

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 2023-03-14.

What are some alternatives?

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

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

tf2pulumi - A tool to convert Terraform projects to Pulumi

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

superstore - ActiveModel for JSONB documents

SearchCop - Search engine like fulltext query support for ActiveRecord

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

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

magic-modules - Add Google Cloud Platform support to Terraform

Mobility - Pluggable Ruby translation framework

Pulumi - Pulumi - Infrastructure as Code in any programming language. Build infrastructure intuitively on any cloud using familiar languages 🚀

Scenic - Versioned database views for Rails