{"id":15353784,"url":"https://github.com/westonganger/lazy_serialize","last_synced_at":"2026-04-18T17:04:53.408Z","repository":{"id":66556494,"uuid":"79953455","full_name":"westonganger/lazy_serialize","owner":"westonganger","description":"Lazy Serialize is an alternative to ActiveRecord's serialize method which does not serialize each column until the first call to the attribute.","archived":false,"fork":false,"pushed_at":"2018-06-05T18:28:52.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-13T02:03:33.887Z","etag":null,"topics":["activerecord","database","rails","ruby","serialization"],"latest_commit_sha":null,"homepage":"","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/westonganger.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-24T20:56:01.000Z","updated_at":"2018-06-05T18:28:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"40ab8dd1-0830-4347-bdbe-1942a157284b","html_url":"https://github.com/westonganger/lazy_serialize","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"3ab30f49d42dd32bd9adc545446ef234fa117937"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/westonganger%2Flazy_serialize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/westonganger%2Flazy_serialize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/westonganger%2Flazy_serialize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/westonganger%2Flazy_serialize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/westonganger","download_url":"https://codeload.github.com/westonganger/lazy_serialize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245908415,"owners_count":20692102,"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":["activerecord","database","rails","ruby","serialization"],"created_at":"2024-10-01T12:15:11.615Z","updated_at":"2026-04-18T17:04:48.358Z","avatar_url":"https://github.com/westonganger.png","language":"Ruby","funding_links":["https://ko-fi.com/A5071NK'"],"categories":[],"sub_categories":[],"readme":"# Lazy Serialize\n\u003ca href='https://ko-fi.com/A5071NK' target='_blank'\u003e\u003cimg height='32' style='border:0px;height:32px;' src='https://az743702.vo.msecnd.net/cdn/kofi1.png?v=a' border='0' alt='Buy Me a Coffee' /\u003e\u003c/a\u003e \n\nLazy Serialize is an alternative to ActiveRecord's `serialize` method which does not serialize each column until the first call to the attribute. \n\n# Install\nUse git source as its not yet published to rubygems\n\n```ruby\n# Gemfile\ngem 'lazy_serialize', git: 'https://github.com/westonganger/lazy_serialize.git'\n```\n\n# Usage\n\nUsage is almost the same as the regular serialize\n\n```ruby\nclass MyClass\n  include LazySerialize\n\n  lazy_serialize :my_attribute, Hash\nend\n```\n\nAvailable Types are Hash, HashWithIndifferentAccess, Array, JSON, YAML\n    \n# Credits\nCreated by Weston Ganger - @westonganger\n\n\n\u003ca href='https://ko-fi.com/A5071NK' target='_blank'\u003e\u003cimg height='32' style='border:0px;height:32px;' src='https://az743702.vo.msecnd.net/cdn/kofi1.png?v=a' border='0' alt='Buy Me a Coffee' /\u003e\u003c/a\u003e \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwestonganger%2Flazy_serialize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwestonganger%2Flazy_serialize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwestonganger%2Flazy_serialize/lists"}