• Parses MetadataType according to specified options

    Remarks

    Be aware that you need to take into account that the returned groups and fields can be an array if it has multiple values or groups/fields with same name. If you are certain your metadata type won't return multiple groups/fields/values with same name or don't mind that they might be overridden: you can use the option flat along with joinValue or arrayOnSingleValue: false.

    Returns

    Metadata object parsed according to options

    See

    parseTimespanList for more info

    Type Parameters

    Parameters

    • metadataType: MetadataType

      A MetadataType from VidiCore

    • Optional options: TOptions

      Options which change how the metadataType is parsed

    Returns ParsedMetadataType<TOptions>