I'm generating QR codes from my Angular web app. I'm using the npm package ngx-qrcode2 to generate the QR code.
Is there a way with this npm package or another npm package to store a JSON object in the QR. Then read QR,and extract the JSON using the qr reader zxing/ngx-scanner.
Currently, I'm able to achieve this if I convert the JSON to a string, store that string in the QR and then when I read it, a parse it back to a JSON.
This is what I have done so far.
TO GENERATE THE QR CODE https://stackblitz.com/edit/angular-ja13vl
TO READ THE QR CODE https://stackblitz.com/edit/angular-qr-reader