Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace serializers by toJSON and [Default] extended attribute #323

Merged
merged 23 commits into from Jun 21, 2017
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
1f617fe
Replace serializers by toJSON and [Default] extended attribute
tobie Feb 27, 2017
7b9cd65
Partially address bz's feedback.
tobie Feb 28, 2017
7a6522b
Include toJSON operations declared on consequential interfaces.
tobie Mar 2, 2017
8c29b0d
JSON values includes interfaces that inherited their toJSON op.
tobie Mar 2, 2017
dc35b5d
Respect alphabetical order.
tobie Mar 2, 2017
ea40489
JSON value -> JSON type
tobie Mar 6, 2017
df463f0
Remove curly quotes.
tobie Mar 6, 2017
88f7004
Proper capitalization.
tobie Mar 6, 2017
88c1793
Revamp default toJSON algorithm
tobie May 11, 2017
68b333a
Handle both inner types in default toJSON operations
tobie May 11, 2017
1ad7cff
Change return type of default toJSON to object.
tobie May 11, 2017
a85daf3
Add missing var in abstract operation argument list.
tobie May 11, 2017
7300610
Partially address feedback.
tobie May 15, 2017
d979a3f
Re-include object that was mistakenly removed before.
tobie May 15, 2017
90e87dc
Addressing more feddback.
tobie May 15, 2017
3fbf0a2
Use get underlying attribute dfn in attribute getter bindings.
tobie May 16, 2017
26094a1
Match the attribute identifier to its interface
tobie May 16, 2017
0765d96
*cough*
tobie May 16, 2017
f252e51
Handle mixing after interface's own members.
tobie May 16, 2017
5c1699d
Simplify first toJSON example.
tobie May 17, 2017
a693c16
Applying @domenic's patch.
tobie May 17, 2017
ea59256
Improve [Default] toJSON example.
tobie May 18, 2017
e2a1a4e
Last fixes (hopefully).
tobie May 18, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions index.bs
Expand Up @@ -1998,6 +1998,7 @@ The <dfn id="dfn-json-types" export lt="JSON type">JSON types</dfn> are:
* [=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=],
* [=interface types=] that have a <code>toJSON</code> operation declared on themselves or
one of their [=inherited interface|inherited=] or
[=consequential interface|consequential=] interfaces.
Expand Down