public void postDeserialize() throws MalformedJsonException {
  observableDelegate=FXCollections.observableArrayList(delegate);
  delegate.clear();
  try {
    createUnderlying();
  }
 catch (  NullPointerException npe) {
    throw new MalformedJsonException(npe.getMessage());
  }
}

public void postDeserialize ( ) throws MalformedJsonException { observableDelegate = FXCollections . observableArrayList ( delegate ) ; delegate . clear ( ) ; try { createUnderlying ( ) ; } catch ( NullPointerException npe ) { throw new MalformedJsonException ( npe . getMessage ( ) ) ; } }
called following deserialization to load the observable list . the observable list cannot be serialized using the current method , so we use a simple list for serialization and then copy the data over , after deserialization .
