1
1
mirror of https://github.com/wader/fq.git synced 2025-01-02 02:24:43 +03:00
fq/format/bson/bson.md
2023-05-01 18:41:52 -07:00

23 lines
485 B
Markdown

### Limitations
- The decimal128 type is not supported for decoding, will just be treated as binary
### Convert represented value to JSON
```
$ fq -d bson torepr file.bson
```
### Filter represented value
```
$ fq -d bson 'torepr | select(.name=="bob")' file.bson
```
### Authors
- Mattias Wadman mattias.wadman@gmail.com, original author
- Matt Dale [@matthewdale](https://github.com/matthewdale), additional types and bug fixes
### References
- https://bsonspec.org/spec.html