Skip to content

1298 - Quoted Keys

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

maml
# HTTP Headers
{
  Content-Type: "text/html"
  X-Request-ID: "e94e2c1b-824e-4836-a866-b2bfbb802115"
  Accept-Language: "en-US"
  Cache-Control: "no-cache"
  X-Powered-By: "Express"

  # Keys with spaces get quoted
  "headers with spaces": {
    "custom header": "admoveo"
    "another one": "articulus"
  }
}

See Also