Navigation Structure

Table of contents

  1. _readfile
  2. _import

funcml can interact with files.

_readfile

Returns the content stored in file in path

Usage

key:
  _readfile: ./file.json

will be rendered as:

# file.json: {"test": "value"}
key: |
  {"test": "value"}

_import

Loads a file from its path and parses its structure directly as a subvalue.

Usage

key:
  _import: ./file.json

will be rendered as:

# file.json: {"test": "value"}
key:
  test: value

# file.yaml: ---\ntest: value
key:
  test: value