A package json reader creates a wrapper around the action of reading a JSON file and accessing the properties of it in an easy fashion. If reading the file fails, the returned reader will always return undefined for any property intended to be read.
Create a new PackageJsonReader.
The location of the file to read.
The contents of the package.json read file.
Return the associated value for a given key.
A package json reader creates a wrapper around the action of reading a JSON file and accessing the properties of it in an easy fashion. If reading the file fails, the returned reader will always return undefined for any property intended to be read.