Skip to content

090 - Quoted Keys

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

maml
# HTTP Headers - keys need quoting
{
  Content-Type: "application/xml"
  X-Request-ID: "026c15ec-fd1a-42a2-9a6c-05e9559264bd"
  Accept-Language: "de-DE"
  Cache-Control: "no-cache"
  X-Powered-By: "Express"

  # Keys with spaces get quoted
  "headers with spaces": {
    "custom header": "defendo"
    "another one": "templum"
  }
}

See Also