Skip to content

3097 - 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: "6ba0bf8b-f616-4791-9f84-5ce2e349ce38"
  Accept-Language: "ja-JP"
  Cache-Control: "no-cache"
  X-Powered-By: "Koa"

  # Keys with spaces get quoted
  "headers with spaces": {
    "custom header": "demitto"
    "another one": "amaritudo"
  }
}

See Also