EFPrefix / EFQRCode

A better way to operate QR Code in Swift, support iOS, macOS, watchOS and tvOS.
https://efprefix.github.io/EFQRCode
MIT License
4.58k stars 485 forks source link

How to pass json data to QRcode #147

Open raghavnaphade opened 2 years ago

raghavnaphade commented 2 years ago

Check List

Issue Description

Description

I want to pass JSON data coming from API to QRcode so it can display information.

Reproduce

Other Comment

ApolloZhu commented 2 years ago

There's no standard way of how to display a JSON using QRCode. I'd recommend checking out tutorials on how to decode JSON using Codable.

If that didn't help, then it'd be great if you can include more details on what exactly you'd like to achieve, what you have tried, and why those don't work. (Though probably that might be better fitted as a question for sites like StackOverflow)