html5-qrcode
html5-qrcode copied to clipboard
Problems scanning QR code with JSON
Hi, When trying to scan a QR code which contains a JSON string I get an error. Even the scanapp.org shows an error when loading an image with the QR code directly. (error: No MultiFormat Readers were able to detect the code) Can this be solved ?
Thanks
Example QR attached:

I am able to scan JSON just fine using this library. Perhaps the payload is too large for a QR code? They can handle a fair amount, but you can see the complexity of the example you posted.. 😅 I limit the amount of data that can go in to the code, and even shorten the field names to 1 or 2 characters. If additional data is required, I store it in the DB and pass a record ID through the code to be used on the other side.