Re: [w3c/browser-payment-api] PROPOSAL: A new document structure for this API (#138)

> Having tried to come up with a generalized algorithm to do this a long time ago, I don't think this is as easy as it sounds. There are no simple rules for translating between JSON and WebIDL and/or back, you end up writing complex, object-specific algorithms.

+1 - I don't think we want to do that.

We need SOME place to describe the translation for these two objects: payment request and payment response. I propose we do it in the browser API spec because that's where we define the WebIDL.

---
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/138#issuecomment-210147164

Received on Thursday, 14 April 2016 21:01:53 UTC