mirror of
https://github.com/wader/fq.git
synced 2024-12-21 04:11:55 +03:00
15 lines
220 B
Markdown
15 lines
220 B
Markdown
### Convert represented value to JSON
|
|
|
|
```
|
|
$ fq -d bson torepr file.bson
|
|
```
|
|
|
|
### Filter represented value
|
|
|
|
```
|
|
$ fq -d bson 'torepr | select(.name=="bob")' file.bson
|
|
```
|
|
|
|
### References
|
|
- https://bsonspec.org/spec.html
|