- From: Rouslan Solomakhin <notifications@github.com>
- Date: Fri, 09 Dec 2016 07:38:19 -0800
- To: w3c/browser-payment-api <browser-payment-api@noreply.github.com>
Received on Friday, 9 December 2016 15:38:54 UTC
The serializer is a `.toJSON()` method, right? That's [automatically called](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#toJSON()_behavior) when developer writes `JSON.stringify(response)`. The `.json()` method would not be automatically called by `JSON.stringify(response)`. Can we stick with `.toJSON()` because of this? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/browser-payment-api/issues/330#issuecomment-266043590
Received on Friday, 9 December 2016 15:38:54 UTC