Skip to content

198 - 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: "40190ce5-2c13-4aa8-b31d-476bdeb00f97"
  Accept-Language: "fr-FR"
  Cache-Control: "no-cache"
  X-Powered-By: "Fastify"

  # Keys with spaces get quoted
  "headers with spaces": {
    "custom header": "similique"
    "another one": "aro"
  }
}

See Also