Let's write a minimal Jason client


Here's a simple example:

{
  "$jason": {
    "head": {
      "title": "Hello Jason"
    },
    "body": {
      "style": {
        "border": "none"
      },
      "sections": [{
        "items": [{
          "type": "image",
          "url": "https://media.giphy.com/media/tBb19f74gLy3DhI2OGY/giphy.gif",
          "style": {
            "width": "100%"
          }
        }, {
          "type": "label",
          "text": "Batman and Robin"
        }, {
          "type": "label",
          "text": "Today the heroes meet the match of their lives."
        }]
      }]
    }
  }
}
      
This description translates into:


Step 1. Try the demo

TODO
  1. Download Jason client
  2. Enter this url in Jason address bar and watch the client show up: http://hastebin.com/raw/utilunatug

Step 2. Make your own

TODO
  1. Go to http://hastebin.com/utilunatug and click 'Duplicate and edit' menu


  2. Make some changes to create your own version.


  3. Click 'save' menu to save.


  4. Click 'just text' menu to get the raw version.


  5. Copy and paste its URL into Jason.