Skip to content

yamlPath

yamlPath(yaml, path) → value · YAML

Access a nested value in a YAML structure using a dot-separated path. See Chapter 26.

  • yaml (required): YAML UDM value

  • path (required): dot-separated path string

utlx
yamlPath($input, "database.host")        // "localhost"

Released under AGPL-3.0.