@Override
      public Object fromData(DataInput in) throws IOException, ClassNotFoundException {

        byte classId = in.readByte();
        assertEquals(CLASS_ID, classId);
        NonDataSerializable nds = new NonDataSerializable();
        nds.intValue = in.readInt();
        nds.doubleValue = in.readDouble();
        nds.stringValue = in.readUTF();
        nds.dsValue = readObject(in);
        nds.serValue = readObject(in);
        nds.objectValue = readObject(in);

        return nds;
      }
A <code>Serializer</code> that data serializes instances of <code>NonDataSerializable</code>.
geode-core/src/test/java/org/apache/geode/internal/DataSerializableJUnitTest.java