Skip to content

587 - 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: "780535db-7ec1-46cc-abc6-342e8b3f9976"
  Accept-Language: "en-US"
  Cache-Control: "public, max-age=86400"
  X-Powered-By: "Express"

  # Keys with spaces get quoted
  "headers with spaces": {
    "custom header": "deduco"
    "another one": "laudantium"
  }
}

See Also