@Override
  public void fromData(PdxReader reader) {
    String type = reader.readString("@type");
    id = reader.readLong("id");
    firstName = reader.readString("firstName");
    middleName = reader.readString("middleName");
    lastName = reader.readString("lastName");
    gender = (Gender) reader.readObject("gender");
    birthDate = reader.readDate("birthDate");

  }
The Person class is an abstraction modeling a person.
<p>

@since GemFire 8.0
geode-assembly/geode-assembly-test/src/main/java/org/apache/geode/rest/internal/web/controllers/Person.java