title: How to fetch value from nested json objects in angular 6 dynamically?
body: <p>I want to access data inside json file which contains multiple nested objects and I want to print them dynamically without thinking what is the data inside it. I want to print key values inside dynamically.</p>
  
  <p>my json</p>
  
  <pre><code> {
    "name" : "abc",
    "tags" : "def",
    "updated-by" : "ijk",
    "property" : {
      "description" : "abcd",
      "type" : "string"
    },
    "sources" : {
      "input" : {
        "type" : "lmn",
        "properties" : {
          "key" : "opq"
        }
      }
    }
  }
  </code></pre>
  
  <p>If my key contains object then it should go inside that object and then prints its values but if it is also another object then it should go inside that object also and then print its key value.It should loop dynamically. Code must be in angular 4 or above.If anyone can help.</p>