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

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -