if (encodedData != null) {
byte[] serializedData = Base64Utils.fromBase64(encodedData);
ByteArrayInputStream baos = new ByteArrayInputStream(serializedData);
ObjectInputStream ois = new ObjectInputStream(baos);
int count = ois.readInt();
for (int i = 0; i < count; i++) {
String fieldName = (String) ois.readObject();
Object fieldValue = ois.readObject();
Field field = instanceClass.getDeclaredField(fieldName);
field.setAccessible(true);