angular - Convert String type to Class type -
this question has answer here:
in java use this:
class<?> classtype = class.forname(classname);
how can achieve same goal angular?
in case it's object , can convert this
let = 'object string';let jsobj = json.parse(a);console.log(jsobj);
wiki
Comments
Post a Comment