Re: [web-nfc] URL objects

+1 to @annevk's design. Alternately, a design like `{ type: "url", 
data: ... }` `{ type: "text", data: ... }` seems fine. Anne's design 
is better to communicate that NFC's metadata is not relevant and you 
want the ability to deserialize in multiple ways as appropriate for 
the use case. The `{ type, data }` seems a bit better to give a more 
direct mapping to NFC (although in that case just exposing TNF and 
MIME type would be more appropriate).

-- 
GitHub Notif of comment by domenic
See https://github.com/w3c/web-nfc/issues/26#issuecomment-129856146

Received on Tuesday, 11 August 2015 12:25:45 UTC