https://github.com/everythingme/bson
an extraction (with a couple of minor modifications) of Youtube's BSON library that's part of Vitess
https://github.com/everythingme/bson
Last synced: about 1 month ago
JSON representation
an extraction (with a couple of minor modifications) of Youtube's BSON library that's part of Vitess
- Host: GitHub
- URL: https://github.com/everythingme/bson
- Owner: EverythingMe
- License: bsd-2-clause
- Created: 2015-03-12T15:23:45.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-12T21:44:14.000Z (over 11 years ago)
- Last Synced: 2025-01-02T07:14:05.026Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 156 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## This is an extraction (with a couple of minor modifications) of Youtube's BSON library that's part of Vitess.
See https://github.com/youtube/vitess/
It is extracted so it can be imported without having to vendor the entire Vitess tree, and for the following changes:
1. Fileds can have a struct tags, e.g `bson:"foo"` so overriding their struct names is possible.
2. Strings are encoded as BSON strings and not Binary (this means they have to be utf-8).