title: Generalizing JSON serialization classes instead of using specific classes to repreasent JSON file
body: <p>I have a set of JSON files as structured as below . </p>
  
  <pre><code>{
      "client":
      {
          "Home": { "minVersion": "12", "tested": true },
          "About": { "minVersion": "12", "tested": true }, 
          "MoreInfo": { "minVersion": "13", "tested": true }, 
  
      },
  
      "server":
      {
          "backendVersion": { "minVersion": "1.2" },
          "DBversion": { "minVersion": "1.2" }
      }
  }
  </code></pre>
  
  <p>I understand deserializing these as it is using classes to represent the JSON files can be done which is straight forward but what I am trying to do has a layer of complexity above . Is it possible to implement so to get the required values without specifically creating classes for each.</p>
  
  <p>Like for an example using this JSON I want to get a List of the keys under "Client" which is Home , About and  MoreInfo and I also want to store the minVersion for Home  , minVersion for About , minVersion for MoreInfo</p>
  
  <p>If it helps all these particular JSON files will have a standard structure as specified below </p>
  
  <pre><code>{
      "&lt;Client&gt;":
      {
          "&lt;Name&gt;": { "minVersion": "&lt;Version&gt;" },
  
      },
  
      "&lt;server&gt;":
      {
          "&lt;Name&gt;": { "minVersion": "&lt;Version&gt;" }
      }
  }
  </code></pre>
  
  <p>Would appreciate if anyone has an idea as to how I can implement this.</p>