title: Reading Json with Inheritance
body: <p>I am trying to read a Json file in Java. But I have no idea how to distribute the data that contains the Java file to the subclasses. 
  I have a superclass and then I have three subclasses, which depending on the data provided I have to fill or not, and I do not know how to fill these three subclasses (that extends the superclass) depending on the data of the provided file.</p>