Skip to content

2188 - Quoted Keys

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

maml
# HTTP Headers
{
  Content-Type: "application/json"
  X-Request-ID: "5b82ba20-92e1-4205-ac6e-e74b7b0774d9"
  Accept-Language: "fr-FR"
  Cache-Control: "public, max-age=86400"
  X-Powered-By: "Hono"

  # Keys with spaces get quoted
  "headers with spaces": {
    "custom header": "depopulo"
    "another one": "utique"
  }
}

See Also