{"id":16060525,"url":"https://github.com/tannevaled/rson","last_synced_at":"2025-04-05T08:16:17.903Z","repository":{"id":56892809,"uuid":"56179503","full_name":"tannevaled/rson","owner":"tannevaled","description":"Ruby Simple Object's Notation","archived":false,"fork":false,"pushed_at":"2017-02-13T21:47:19.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T15:51:23.286Z","etag":null,"topics":["ruby","ruby-gem","serialization"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tannevaled.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-13T19:19:17.000Z","updated_at":"2016-04-14T14:53:51.000Z","dependencies_parsed_at":"2022-08-21T01:50:12.588Z","dependency_job_id":null,"html_url":"https://github.com/tannevaled/rson","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tannevaled%2Frson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tannevaled%2Frson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tannevaled%2Frson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tannevaled%2Frson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tannevaled","download_url":"https://codeload.github.com/tannevaled/rson/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305946,"owners_count":20917208,"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":["ruby","ruby-gem","serialization"],"created_at":"2024-10-09T04:05:07.658Z","updated_at":"2025-04-05T08:16:17.870Z","avatar_url":"https://github.com/tannevaled.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nRuby Simple Object's Notation\n=============================\n\n[![Build Status](https://travis-ci.org/tannevaled/rson.svg?branch=master)](https://travis-ci.org/tannevaled/rson)\n[![Gem Version](https://badge.fury.io/rb/rson.svg)](https://badge.fury.io/rb/rson)\n[![Code Climate](https://codeclimate.com/github/tannevaled/rson/badges/gpa.svg)](https://codeclimate.com/github/tannevaled/rson)\n[![Test Coverage](https://codeclimate.com/github/tannevaled/rson/badges/coverage.svg)](https://codeclimate.com/github/tannevaled/rson/coverage)\n[![Issue Count](https://codeclimate.com/github/tannevaled/rson/badges/issue_count.svg)](https://codeclimate.com/github/tannevaled/rson)\n\n  RSON convert a string representation of Ruby simple objects to Ruby objects.\n  It does not use eval() but the parser gem to really parse strings.\n\n## Supported Types :\n  - Integer\n  - Float\n  - Symbol\n  - String (multi-line)\n  - Nil\n  - TrueClass\n  - FalseClass\n  - Array\n  - Hash\n\n## Examples\n\n### Loading from a string\n```ruby\nrequire 'rson'\n\nbuffer = %q({ a: 1, 2 =\u003e true, 'c' =\u003e :d })\nSerializer::RSON.load(buffer:buffer) # =\u003e { a: 1, 2 =\u003e true, 'c' =\u003e :d }\n```\n### Loading from a file\n```ruby\nrequire 'rson'\n\nSerializer::RSON.load(\n  file_name:'config.rson',\n  file_path:'/etc/some_application'\n) # =\u003e { a: 1, 2 =\u003e true, 'c' =\u003e :d }\n```\n\n## Installation\n\n```bash\ngem install rson\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftannevaled%2Frson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftannevaled%2Frson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftannevaled%2Frson/lists"}