title: Retrofit 2.0: how to generate pojo class for dynamic objects
body: <p><a href="https://i.stack.imgur.com/FUXGv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FUXGv.png" alt="enter image description here"></a>
  How could I generate pojo class for above type of response.</p>
  
  <p>I already tried <a href="http://www.jsonschema2pojo.org/" rel="nofollow noreferrer">http://www.jsonschema2pojo.org/</a> and RoboPOJOGenerator</p>
  
  <p>My JSON String is blow if you want to try.</p>
  
  <pre><code>{
  "availableDates": {
      "2017-12-31": {
          "from": "08:00",
          "to": "17:00"
      },
      "2017-12-21": {
          "except": [
              {
                  "from": "14:00:00",
                  "to": "14:10:00"
              },
              {
                  "from": "14:11:00",
                  "to": "14:21:00"
              }
          ]
      }
  }
  </code></pre>
  
  <p>}</p>