Is there a shell one-liner to convert JSON to BSON?
Something suitable for one-off execution, or a shell script?
bsondump
from MongoDB goes the inverse way, but I'm clueless as to what I can use to go from JSON to BSON. There's no bsonundump
, e.g.