readProjectFile method
The project's just.json, or the defaults when it has none. Throws
JsonFormatException (naming the file) when it exists but is not
valid.
Implementation
JustProjectFile readProjectFile() {
final text = readText(projectFile);
if (text == null) return const JustProjectFile();
try {
return JustProjectFile.parse(text);
} on JsonFormatException catch (e) {
throw e.inFile(projectFile);
}
}