filePath

Gets the path of a file.

Arguments

  • path - The path to the file.
  • separator - Separator to use for the path.

Example

{
  "$template": {
    "$comment": "The field below will be 'data'",
    "test": "{{filePath('data/file.json')}}"
  }
}