Skip to content

1191 - 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: "d0e21d58-46ed-4731-95d4-c86100a98a5f"
  Accept-Language: "ja-JP"
  Cache-Control: "public, max-age=86400"
  X-Powered-By: "Koa"

  # Keys with spaces get quoted
  "headers with spaces": {
    "custom header": "soluta"
    "another one": "valens"
  }
}

See Also