I am trying to print json object in textarea using ngModel.
I have done following:
You can stringify your json and use in the ngModel like this -
ArrayDemo: Array = [{"name":"pardeep","last":"jain"}]
rapidPage = JSON.stringify(this.ArrayDemo);
Working Example Working Example
Browser shows [object object] because angular unables to parse the JSON the asign the value in ngModel you must need a string
so convert this using JSON.stringify