- From: Zoltan Kis via GitHub <sysbot+gh@w3.org>
- Date: Tue, 11 Aug 2015 10:41:15 +0000
- To: public-web-nfc@w3.org
In the current implementation, JSON is exposed as Object (property bag) to clients, URL as a URL object, Blob as Object. When a client gets an Object, it can use ```instanceof``` to tell it was Blob; if it was not a blob, then it was JSON. This works now, but I don't know which evil is worse: using URL object, or carrying type along in a property. Any best practice on this nowadays? -- GitHub Notif of comment by zolkis See https://github.com/w3c/web-nfc/issues/26#issuecomment-129831248
Received on Tuesday, 11 August 2015 10:41:17 UTC