As I develop a script that parses the "rel" attribute of an anchor tag for a JSON String of settings, I am implementing code similar to this to convert the string into a JavaScript Object:
var settings = new Function("return " + relAttribute);
Would you consider this method effective for parsing a JSON String?