{"id":13537747,"url":"https://github.com/michel-kraemer/bson4jackson","last_synced_at":"2026-02-28T09:05:42.756Z","repository":{"id":1060953,"uuid":"895477","full_name":"michel-kraemer/bson4jackson","owner":"michel-kraemer","description":"🦬 A pluggable BSON generator and parser for the Jackson JSON processor.","archived":false,"fork":false,"pushed_at":"2026-02-23T12:44:51.000Z","size":1047,"stargazers_count":297,"open_issues_count":0,"forks_count":87,"subscribers_count":21,"default_branch":"master","last_synced_at":"2026-02-23T16:49:28.210Z","etag":null,"topics":["binary","bson","jackson","jackson-json-processor","java","json","mongodb"],"latest_commit_sha":null,"homepage":"https://michelkraemer.com/binary-json-with-bson4jackson","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michel-kraemer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","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,"zenodo":null},"funding":{"github":"michel-kraemer"}},"created_at":"2010-09-08T05:46:47.000Z","updated_at":"2026-02-23T12:44:54.000Z","dependencies_parsed_at":"2023-01-13T10:54:02.897Z","dependency_job_id":"f5bf8031-a659-4a97-b380-5c93094eaa11","html_url":"https://github.com/michel-kraemer/bson4jackson","commit_stats":{"total_commits":299,"total_committers":23,"mean_commits":13.0,"dds":0.4147157190635451,"last_synced_commit":"6a87c6a1905a0b7f68eafe554baf099b01f2674f"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"purl":"pkg:github/michel-kraemer/bson4jackson","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michel-kraemer%2Fbson4jackson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michel-kraemer%2Fbson4jackson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michel-kraemer%2Fbson4jackson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michel-kraemer%2Fbson4jackson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michel-kraemer","download_url":"https://codeload.github.com/michel-kraemer/bson4jackson/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michel-kraemer%2Fbson4jackson/sbom","scorecard":{"id":641948,"data":{"date":"2025-08-11","repo":{"name":"github.com/michel-kraemer/bson4jackson","commit":"81bc80b013e1090b03bc9c921d9e0c906756ad7b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":1,"reason":"Found 3/22 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/gradle.yml:1","Warn: no topLevel permission defined: .github/workflows/stale.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gradle.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/michel-kraemer/bson4jackson/gradle.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gradle.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/michel-kraemer/bson4jackson/gradle.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/michel-kraemer/bson4jackson/stale.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T10:59:39.644Z","repository_id":1060953,"created_at":"2025-08-21T10:59:39.644Z","updated_at":"2025-08-21T10:59:39.644Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29929119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"online","status_checked_at":"2026-02-28T02:00:07.010Z","response_time":90,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["binary","bson","jackson","jackson-json-processor","java","json","mongodb"],"created_at":"2024-08-01T09:01:03.243Z","updated_at":"2026-02-28T09:05:42.729Z","avatar_url":"https://github.com/michel-kraemer.png","language":"Java","funding_links":["https://github.com/sponsors/michel-kraemer"],"categories":["Java","JSON"],"sub_categories":["语音合成"],"readme":"# BSON for Jackson [![Actions Status](https://github.com/michel-kraemer/bson4jackson/workflows/CI/badge.svg)](https://github.com/michel-kraemer/bson4jackson/actions) [![Apache License, Version 2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)\n\nThis library adds support for [BSON](http://bsonspec.org) to the\n[Jackson JSON processor](https://github.com/FasterXML/jackson).\n\nBSON is a binary representation of [JSON](https://json.org/). It is\nwell known as the main exchange and persistence\nformat of [MongoDB](https://www.mongodb.com/).\n\n## Quick start\n\nJust create a Jackson `ObjectMapper` with a `BsonFactory` as follows:\n\n```java\nObjectMapper mapper = new ObjectMapper(new BsonFactory());\n```\n\nFor more information, you may read my\n[bson4jackson tutorial](https://michelkraemer.com/binary-json-with-bson4jackson)\nor the complete [documentation of Jackson](https://github.com/FasterXML/jackson).\n\n## Download\n\nbson4jackson binaries are available from the\n[GitHub releases page](https://github.com/michel-kraemer/bson4jackson/releases\u003e).\n\nYou may also use [Maven](http://maven.apache.org/) to download bson4jackson:\n\n```xml\n\u003cdependencies\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003ede.undercouch\u003c/groupId\u003e\n        \u003cartifactId\u003ebson4jackson\u003c/artifactId\u003e\n        \u003cversion\u003e2.15.1\u003c/version\u003e\n    \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\nIf you are using [Gradle](https://gradle.org/), you may add the\nfollowing snippet to your `build.gradle`:\n\n```gradle\ndependencies {\n    implementation 'de.undercouch:bson4jackson:2.15.1'\n}\n```\n\n## Compatibility\n\nThe latest version of bson4jackson is backward compatible to all versions of\nJackson 2.x released up to date. It should be compatible to newer versions as\nwell. If you experience compatibility issues,\n[just let me know](https://github.com/michel-kraemer/bson4jackson/issues).\n\nIf you are looking for a version compatible to Jackson 1.x, please use\nbson4jackson 1.3.0. It's the last version for the 1.x branch.\nbson4jackson 1.3.0 is compatible to Jackson 1.7 up to 1.9.\n\n## Compiling\n\nExecute the following command to compile the library and to run the\nunit tests:\n\n    ./gradlew test\n\nThe script automatically downloads the correct Gradle version so you\nwon't have to do anything else. If everything runs successfully, you\nmay create a .jar library:\n\n    ./gradlew jar\n\nThe library will be located under `build/libs`.\n\n## License\n\nbson4jackson is licensed under the\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichel-kraemer%2Fbson4jackson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichel-kraemer%2Fbson4jackson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichel-kraemer%2Fbson4jackson/lists"}