- From: Tobie Langel <notifications@github.com>
- Date: Wed, 21 Dec 2016 15:36:45 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 21 December 2016 23:37:12 UTC
> Fyi a case where only specific attributes are serialized: http://w3c.github.io/webrtc-pc/#idl-def-rtcicecandidate (not saying the reasons behind it necessarily are valid). Yeah, that would still be possible but require adding a `toJSON` operation, a dictionary and some prose, e.g.: ```webidl interface RTCIceCandidate { // members RTCIceCandidateJSON toJSON(); }; dictionary RTCIceCandidateJSON { DOMString candidate; DOMString? sdpMid; unsigned short? sdpMLineIndex; DOMString ufrag; }; ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/188#issuecomment-268674218
Received on Wednesday, 21 December 2016 23:37:12 UTC