Our image encoder outputs a base64 string but when this output is saved to the database it is instead saved as binary.
When attempting to re-encode the binary extracted from the database, it again outputs a base64 string but I receive an error message that says I am trying to save bytes into a JSON. Is this an issue with the encoder, or something else?
(The full error message and references to the lines of code causing the problem are in pull request #68, I didn't want to merge the pull request in case I had broken something)
See #68 for full description:
Our image encoder outputs a base64 string but when this output is saved to the database it is instead saved as binary.
When attempting to re-encode the binary extracted from the database, it again outputs a base64 string but I receive an error message that says I am trying to save bytes into a JSON. Is this an issue with the encoder, or something else?
(The full error message and references to the lines of code causing the problem are in pull request #68, I didn't want to merge the pull request in case I had broken something)