LaunchGateParser

public protocol LaunchGateParser

Protocol to which any configuration parser must conform.

  • Parse the configuration file into a LaunchGateRemoteConfiguration object.

    Declaration

    Swift

    func parse(_ jsonData: Data) -> LaunchGateConfiguration?

    Parameters

    jsonData

    The configuration file JSON as Data.

    Return Value

    The resulting LaunchGateRemoteConfiguration object, or nil if parsing fails for any reason (i.e. malformed JSON response).