jsonb_accessor VS attr_json

Compare jsonb_accessor vs attr_json and see what are their differences.


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


Serialized json-hash-backed ActiveRecord attributes, super smooth (by jrochkind)
Our great sponsors
  • Zigi - The context switching struggle is real
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Scout APM - Truly a developer’s best friend
  • SonarQube - Static code analysis for 29 languages.
jsonb_accessor attr_json
6 5
922 381
1.2% -
6.6 4.6
2 months ago 3 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.


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.


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 2022-11-04.

What are some alternatives?

When comparing jsonb_accessor and attr_json 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).

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

Mobility - Pluggable Ruby translation framework

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

SearchCop - Search engine like fulltext query support for ActiveRecord

FFmpeg - Mirror of https://git.ffmpeg.org/ffmpeg.git

Rails Erd - Generate Entity-Relationship Diagrams for Rails applications

Redis - Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.

TinyMCE - The world's #1 JavaScript library for rich text editing. Available for React, Vue and Angular