• Converts a job to a dictionary object, with logic for excluding certain fields.

    Parameters

    • job: Job | Job[]

      attributes of a job (can be recursively called)

    • Optional exclude: string[] = []

      list of attributes to exclude

    Returns object | object[]

    job object including all attributes in the job list and excluding fields specified in exclude

Generated using TypeDoc