Required Instance Methodtuist.filesystem 0.7.9FileSystem

readJSONFile(at:)

Reads a JSON file at a given path, and decodes it into the provided decodable type.

FileSystem.swift:207
func readJSONFile<T>(at: AbsolutePath) async throws -> T where T : Decodable

Parameters

at

The path to the property list file.

Returns

The decoded structure.