Loader.fromFile

Construct a Loader to load YAML from a file.

  1. Loader fromFile(string filename)
  2. Loader fromFile(File file)
    struct Loader
    static @system
    fromFile
    (
    File file
    )

Parameters

file File

Already-opened file to load from.

Throws

YAMLException if the file could not be opened or read.

Meta