Skip to content

1197 - Quoted Keys

Configuration using special characters in keys. This is an example of a MAML document.

maml
# HTTP Headers
{
  Content-Type: "application/xml"
  X-Request-ID: "559c43ea-b859-476d-986b-a2581d5067d5"
  Accept-Language: "ja-JP"
  Cache-Control: "public, max-age=86400"
  X-Powered-By: "Hono"

  # Keys with spaces get quoted
  "headers with spaces": {
    "custom header": "aegrus"
    "another one": "alo"
  }
}

See Also