The actual solution would be to change the format of your datasource to be valid JSON("
instead of '
):
JSON.parse('["A", "B", "C"]')
However, if that is not an option, you can do that programmaticaly for sure:
JSON.parse("['A', 'B', 'C']".replace(/'/, '"'))