Re: [web-nfc] Check 'typedef any NDEFRecordData' to be a JSON type? (#307)

Basically almost anything can be considered JSON (numbers, objects, Uint8Array, false, etc etc, but not say `undefined`) and creating a specific type union for that is basically impossible - thus any makes a lot of sense here. If the recordType is "json" just tread the value as JSON. 

-- 
GitHub Notification of comment by kenchris
Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/307#issuecomment-525603161 using your GitHub account

Received on Wednesday, 28 August 2019 06:28:57 UTC