NativePath of the package recipe file
Optional name of the parent package (if this is a sub package)
Whether to issue errors, warning, or ignore unknown keys in dub.json
Returns the package recipe contents
Throws an exception if an I/O or syntax error occurs
Reads a package recipe from a file.
The file format (JSON/SDLang) will be determined from the file extension.