- From: Tobie Langel <notifications@github.com>
- Date: Mon, 06 Mar 2017 09:50:03 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 6 March 2017 17:50:35 UTC
tobie commented on this pull request. > + [Default] any toJSON(); + }; + </pre> + + Assuming each of the attributes of <code class="idl">Transaction</code> is backed by an associated value, + so that each [=attribute getter=] returns the corresponding associated value, + then the “toJSON” [=regular operation=] could be defined as follows: + + <blockquote> + <div algorithm="example tojson"> + + The “toJSON” operation of the <code class="idl">Transaction</code> interface + must follow these steps: + + 1. Let |json| be a new <code class="idl">TransactionJSONValue</code> dictionary. + 1. Set |json|[“from”] to this <code class="idl">Transaction</code>'s associated "from" value. Fixed. -- 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/pull/323#discussion_r104477087
Received on Monday, 6 March 2017 17:50:35 UTC