{"id":15793857,"url":"https://github.com/cedric05/rust-bson","last_synced_at":"2025-03-31T19:25:07.505Z","repository":{"id":110365053,"uuid":"523955853","full_name":"cedric05/rust-bson","owner":"cedric05","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-13T05:40:40.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-05T23:21:29.389Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cedric05.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-12T04:35:20.000Z","updated_at":"2022-08-12T04:35:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"0abea095-72df-4e4c-91c9-fe7b2f18b7f2","html_url":"https://github.com/cedric05/rust-bson","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/cedric05%2Frust-bson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedric05%2Frust-bson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedric05%2Frust-bson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedric05%2Frust-bson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cedric05","download_url":"https://codeload.github.com/cedric05/rust-bson/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246524813,"owners_count":20791622,"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":"2024-10-04T23:21:29.071Z","updated_at":"2025-03-31T19:25:07.481Z","avatar_url":"https://github.com/cedric05.png","language":"Rust","readme":"# bson\n\nEncoding and decoding support for BSON in Rust\n\n\n## Overview of the BSON Format\n\nBSON, short for Binary JSON, is a binary-encoded serialization of JSON-like documents.\nLike JSON, BSON supports the embedding of documents and arrays within other documents\nand arrays. BSON also contains extensions that allow representation of data types that\nare not part of the JSON spec. For example, BSON has a datetime type and a binary data type.\n\n```text\n// JSON equivalent\n{\"hello\": \"world\"}\n\n// BSON encoding\n\\x16\\x00\\x00\\x00                   // total document size\n\\x02                               // 0x02 = type String\nhello\\x00                          // field name\n\\x06\\x00\\x00\\x00world\\x00          // field value\n\\x00                               // 0x00 = type EOO ('end of object')\n```\n\nBSON is the primary data representation for [MongoDB](https://www.mongodb.com/), and this crate is used in the\n[`mongodb`](https://docs.rs/mongodb/latest/mongodb/) driver crate in its API and implementation.\n\nFor more information about BSON itself, see [bsonspec.org](http://bsonspec.org).\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedric05%2Frust-bson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcedric05%2Frust-bson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedric05%2Frust-bson/lists"}