Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cards payload quotations and the standard

See original GitHub issue

Hello. 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": ""

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:closed
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

mixoniccommented, Aug 31, 2018

Closed by, feel free to re-open if I am missing something.

randohinncommented, Sep 15, 2018

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.

Read more comments on GitHub >

github_iconTop 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 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found