- From: Rouslan Solomakhin <notifications@github.com>
- Date: Wed, 16 Nov 2016 07:56:41 -0800
- To: w3c/browser-payment-api <browser-payment-api@noreply.github.com>
Received on Wednesday, 16 November 2016 15:57:16 UTC
We require JSON-serializable object to avoid this:
```javascript
var obj = {foo: null};
obj.foo = obj;
```
This is valid JavaScript, but cannot be serialized into a JSON string.
Serialization is necessary for communication to payment apps. Android apps can't receive JavaScript objects, so they take in a JSON string instead.
--
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/307#issuecomment-260983652
Received on Wednesday, 16 November 2016 15:57:16 UTC