Parser
public protocol Parser
Defines types and method required to parse and convert any type T to a type U.
-
parsed(resources:)Extension methodExtension of the
parse(_:)method, which reads JSON arrays fromLaunchEnvironmentResourceand returns a list of objects converted byparse(_:)method.Throws
Rethrow an error throwed byparse(_:)method.Declaration
Swift
public func parsed(resources: [LaunchEnvironmentResource]) throws -> [Self.U]Parameters
resourcesA list of resources to parse.
Return Value
A list of converted objects.
Parser Protocol Reference