I am attempting to access JSON Object properties directly and log them using the following function :
loadProcesses(filter?){
this._postService.getAllProcess(filter)
.subscribe(
res=> {
this.processListe = res;
// console.log(this.processListe.)
}
,null,
() =>{
console.log("retrieving processes list: " + filter)
});
The variable this.processListe contains a JSON Object, with a format like this:
{"Person": {
"id": "A256",
"name": "GET",
"status": "active",
"description": "hardworking, openminded",
...
If I want to simply print the label on a console log, how can I do it?