Cards payload quotations and the standard
See original GitHub issueHello. I’m writing a MobileDoc renderer in PHP. However, php really does not like to decode from json, when keys do not have quotation marks around them… Eg, this fails if I don’t surround src
in quotes.
"cards": [
["image", {
"src": "http://google.com/logo.png"
}]
],
I was wondering, is the quotation marks something one can configure in the kit output, or how much “in-spec” they are with the MobileDoc standard? If these are not configurable, I suggest making it so they are 😄.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Adaptive Cards: Accept User Input in Microsoft Teams
Adaptive Cards is a way in which Developers can exchange data and content in a common way and the JSON payload used for...
Read more >Payload
Payload is a set of developer toolkits to integrate payments and automate invoicing for any business or marketplace. Accept Any Payment.
Read more >Bulletins and Release Announcements - Mastercard Developers
1. Payload Encryption Mandate Reminder 2. System Error Codes Version 4 Mandate 3. Account-Based Program Standards Update Information.
Read more >Encoding | Protocol Buffers - Google Developers
The lower 7 bits are a payload; the resulting integer is built by appending together the 7-bit payloads of its constituent bytes. So,...
Read more >Rich response messages | Dialogflow ES - Google Cloud
Card responses send an image, a card title, a card subtitle, and interactive ... Some platforms support a custom payload response to handle...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closed by https://github.com/bustle/mobiledoc-kit/pull/645, feel free to re-open if I am missing something.
This has not been automatically closed, apparently. There are some more JSON errors in the examples, but I’ll have to pass on fixing them, on account of not having the time right now. However, I’d be really happy, if someone could point out all the unsupported features in my renderer so I’d have basis on refactoring it a bit.