• Replaces all double quoted strings in the input string with "0", "1", etc.

    Returns

    The transformed string and a map with keys "0", etc. and values the original string that was there.

    Parameters

    • input: string

      The Accept header string.

    Returns { replacements: Record<string, string>; result: string }

    • replacements: Record<string, string>
    • result: string