yehiaazanki
yehiaazanki

Reputation: 115

Convert object to json in angular 7

I'm trying to convert an object to json using:

object.json();

I'm getting the following error:

core.js:15713 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'json' of undefined TypeError: Cannot read property 'json' of undefined

I think it's some change from the new version. Version 7

Can somebody help me?

Upvotes: 0

Views: 6425

Answers (1)

Related Questions