make_reader


function make_reader(path:String) -> Reader

Create a reader for a file.

  • path Path of the file.

Returns the reader.

The file extension of path is used to determine the precise type of the returned object. Supported file extension are .json, .yml, and .yaml.