Documentation Language: Swift

Method

parse(_:)

Parse a JSON file and return a Resource containing the objects

func parse(_ url: URL) async throws -> Resource

Parameters

url

The URL of the JSON file to parse

Return Value

A Resource containing the parsed objects

Discussion