{"id":25384236,"url":"https://github.com/alex-rachel/bsonutility","last_synced_at":"2025-04-09T14:43:52.628Z","repository":{"id":277493836,"uuid":"932592774","full_name":"Alex-Rachel/BsonUtility","owner":"Alex-Rachel","description":"BsonUtility for Unity","archived":false,"fork":false,"pushed_at":"2025-02-14T07:20:35.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T08:22:20.079Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/Alex-Rachel.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2025-02-14T06:58:00.000Z","updated_at":"2025-02-14T07:20:38.000Z","dependencies_parsed_at":"2025-02-14T08:32:25.631Z","dependency_job_id":null,"html_url":"https://github.com/Alex-Rachel/BsonUtility","commit_stats":null,"previous_names":["alex-rachel/bsonutility"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alex-Rachel%2FBsonUtility","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alex-Rachel%2FBsonUtility/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alex-Rachel%2FBsonUtility/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alex-Rachel%2FBsonUtility/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alex-Rachel","download_url":"https://codeload.github.com/Alex-Rachel/BsonUtility/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055273,"owners_count":21040151,"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":[],"created_at":"2025-02-15T08:39:50.981Z","updated_at":"2025-04-09T14:43:52.598Z","avatar_url":"https://github.com/Alex-Rachel.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BsonUtility\n[![license](https://img.shields.io/github/license/Alex-Rachel/BsonUtility.svg)](https://github.com/Alex-Rachel/BsonUtility/blob/main/LICENSE) \n[![last](https://img.shields.io/github/last-commit/Alex-Rachel/BsonUtility.svg)](https://github.com/Alex-Rachel/BsonUtility)\n[![issue](https://img.shields.io/github/issues/Alex-Rachel/BsonUtility.svg)](https://github.com/Alex-Rachel/BsonUtility/issues)\n[![topLanguage](https://img.shields.io/github/languages/top/Alex-Rachel/BsonUtility.svg)](https://github.com/Alex-Rachel/BsonUtility)\n\n\nBsonUtility for Unity\n\nA fast BSON library for Unity, compliant to the whole BSON specification test suite. The library parses the binary data on-demand, delaying copies until the last second.\n\nBSON is parsed and generated as specified for version 1.1 of the [BSON specification](http://bsonspec.org/spec.html).\n\n## Basic Usage\n\nCreate Documents using Dictionary Literals:\n\n```csharp\npublic class BsonTest\n{\n    class MyClass\n    {\n        public bool b = true;\n        \n        public int i = 100;\n        \n        public string s = \"Hello World\";\n        \n        public List\u003cA\u003e a = new List\u003cA\u003e();\n        \n        public class A\n        {\n            public int a = 100;\n            \n            public string b = \"Hello World\";\n        }\n    }\n    \n    private void Test()\n    {\n        MyClass myClass = new MyClass();\n\n        // To Bytes\n        var bytes = Bson.ToBson(myClass);\n\n        // To Objects\n        var myClass2 = Bson.ToObject\u003cMyClass\u003e(bytes);\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falex-rachel%2Fbsonutility","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falex-rachel%2Fbsonutility","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falex-rachel%2Fbsonutility/lists"}