title: How to converting a nested Json object/array to multiple lists based on keys Dynamically without knowing the keys
body: <blockquote>
    <p>The below is a sample Json file.</p>
  </blockquote>
  
  <pre><code>{"Yjson":
  [
  {
  "Name": "crunchify.com",
      "Author": "App Shah",
      "Address": "New York",
      "Company Services": [{
          "Service": "Site SEO Review",
          "Link": "https://crunchify.com/services/site-seo-review-service/"
      }, {
          "Service": "Full Website Design Service",
          "Link": "https://crunchify.com/services/full-website-design-service/"
      }, {
          "Service": "WordPress Optimization &amp; Consultation",
          "Link": "https://crunchify.com/services/wordpress-optimization-service/"
      }, {
          "Service": "WordPress Optimization &amp; Consultation",
          "Link": "https://crunchify.com/services/wordpress-optimization-service/"
      }]
  },
  {
      "Name": "xyz.com",
      "Author": "xyz Shah",
      "Address": "toronto",
      "Company Services": [{
          "Service": "Site SEO Review",
          "Link": "https://crunchify.com/services/site-seo-review-service/"
      }, {
          "Service": "Full Website Design Service",
          "Link": "https://crunchify.com/services/full-website-design-service/"
      }, {
          "Service": "WordPress Optimization &amp; Consultation",
          "Link": "https://crunchify.com/services/wordpress-optimization-service/"
      }]
  }
  ]
  }
  </code></pre>
  
  <blockquote>
    <p>How to store all the values of each key in a Arraylist in java ?</p>
  </blockquote>
  
  <p>such as the array list for key name will contain [crunchicy.com,xyz.com]. similarly for every key there should be a array list.</p>
  
  <p>example :</p>
  
  <ul>
  <li><p>list name : [crunchify.com,xyz]</p></li>
  <li><p>list Author : [aap shah,xyz shah]</p></li>
  <li><p>list name : [newyork,toronto]</p></li>
  </ul>
  
  <blockquote>
    <p>How to parse every json object that can be nested and dynamic in
    nature and keep them in array lists according to keys ??</p>
  </blockquote>