Method
load(from:)
Loads a navigation index from a JSON file.
static func load(from url: URL) throws -> NavigationIndex
Parameters
url-
The URL of the index.json file.
Return Value
The parsed navigation index.
Method
Loads a navigation index from a JSON file.
static func load(from url: URL) throws -> NavigationIndex
urlThe URL of the index.json file.
The parsed navigation index.