Re: [heycam/webidl] Allowing something to be the serializer and stringifier (#260)

I still think that all serializer options except "serialize all the attributes" should be handled via prose or explicit toJSON functions (which we should allow).  The current serializer complexity is ridiculous and not implemented by anyone; allowing people to define toJSON functions would let them handle all this themselves as desired if they want weird serialization behavior, with the one "serialize all the attributes" simple thing for the common case of objects which basically represent a collection of values.

-- 
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/260#issuecomment-268054827

Received on Monday, 19 December 2016 19:27:52 UTC