**All the following is done using Compass. Blobs refenced below are small images stored in mongo from a PDF such as a logo.
BeforeExport.json is the document copied from compass using the copy button when viewing. You can see that "Blobs.[0]" is Binary data.
ExportTest.json is the document exported using compass's build in export from collection command. You can see "Blobs.[0]" is now base64 and the data is changed to reflect that.
AfterImport.json is after i delete the document in mongo and import my ExportTest.json then copy from compass using the copy button. you can see the data type is back to binary but the actual data is still base64 making all deserialization of this back to an image fail.
- duplicates
-
COMPASS-4426 JSON export does not represent binary data properly
- Closed