Currently, I'm in the process of retrieving information from a JSON object that is stored within my component.ts
file.
Object_name=[
{"name": "value_1","prop":["data_1","data_2","data_3"]},
{"name": "value_2","prop":["data_1","data_2","data_3"]},
{"name": "value_3","prop":["data_1","data_2","data_3"]}
];
My objective is to extract `object_name` and then verify if it contains `'value_1'`. If it does, I aim to retrieve the data under the "prop" key either into a variable or display it in the console. As I am relatively new to Angular, I would greatly appreciate it if you could provide your explanation with an example for better understanding.