- From: Tobie Langel <notifications@github.com>
- Date: Mon, 15 May 2017 09:20:45 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 15 May 2017 16:21:18 UTC
tobie commented on this pull request. > + +The “toJSON” [=regular operation=] is reserved for this usage. +It must take zero arguments and return a [=JSON type=]. + +The <dfn id="dfn-json-types" export lt="JSON type">JSON types</dfn> are: + +* [=numeric types=], +* {{boolean}}, +* [=string types=], +* [=nullable types=] whose [=nullable types/inner type=] is a [=JSON type=], +* [=annotated types=] whose [=annotated types/inner type=] is a [=JSON type=], +* [=union types=] where all of their [=member types=] are [=JSON types=], +* [=sequence types=] whose parameterized type is a [=JSON type=], +* [=dictionaries=] where all of their [=dictionary members|members=] are [=JSON types=], +* [=records=] where all of their [=map/values=] are [=JSON types=], +* [=object types=], Initially confused [=object=] with [=object types=]. Now fixed to include only the former. -- 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_r116536139
Received on Monday, 15 May 2017 16:21:18 UTC