{"id":28451955,"url":"https://github.com/reednj/sequel-json_columns","last_synced_at":"2026-05-03T07:38:21.726Z","repository":{"id":56895023,"uuid":"94951042","full_name":"reednj/sequel-json_columns","owner":"reednj","description":"Add json fields to sequel, even if not supported by the engine","archived":false,"fork":false,"pushed_at":"2017-08-21T03:50:58.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-06T17:09:41.705Z","etag":null,"topics":["json","ruby","sequel"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/sequel-json_columns","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reednj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-21T01:42:08.000Z","updated_at":"2017-08-28T03:47:42.000Z","dependencies_parsed_at":"2022-08-21T01:20:35.265Z","dependency_job_id":null,"html_url":"https://github.com/reednj/sequel-json_columns","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/reednj/sequel-json_columns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reednj%2Fsequel-json_columns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reednj%2Fsequel-json_columns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reednj%2Fsequel-json_columns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reednj%2Fsequel-json_columns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reednj","download_url":"https://codeload.github.com/reednj/sequel-json_columns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reednj%2Fsequel-json_columns/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263069250,"owners_count":23408918,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["json","ruby","sequel"],"created_at":"2025-06-06T17:09:41.716Z","updated_at":"2026-05-03T07:38:16.698Z","avatar_url":"https://github.com/reednj.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sequel::Plugins::JsonColumns\n\nThis plugin allows using json type columns in sequel, even in mysql where the database doesn't support them.\n\n## Usage\n\nAdd the plugin to all models in the following way:\n\n    class Sequel::Model\n      plugin :json_columns\n    end\n\nThen flag individual columns as containing json data with the `json_column` class method.\n\n    class User \u003c Sequel::Model\n      json_column :metadata\n\n      # ...\n    end\n\nThe content of these columns will be automatically parsed as json, so you can access the data as a hash, array etc\n\n    user = User.first\n    user.metadata # =\u003e {:name =\u003e 'dave', :age =\u003e 22}\n    user.metadata[:age] += 1\n    user.save_changess\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'sequel-json_columns'\n```\n\nOr install it yourself as:\n\n    $ gem install sequel-json_columns\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freednj%2Fsequel-json_columns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freednj%2Fsequel-json_columns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freednj%2Fsequel-json_columns/lists"}