[Solved] eval() is not allowed [closed] November 8, 2022 by Kirat Try $.parseJSON(data.indexOf('{') < 0 ? '{' + data + '}' : data) eval is evil 2 solved eval() is not allowed [closed]