david1437 commented on issue #1229:
URL: https://github.com/apache/fury/issues/1229#issuecomment-2869842197

   Thanks!
   
   Based on your comment I am understanding it as for nested generics we need 
to take into account dimensions of the array which is already calculated in the 
array serialization code.
   ```
   int dimension = 0;
   while (t != null && t.isArray()) {
     dimension++;
      t = t.getComponentType();
      if (t != null) {
        innerType = t;
       }
   }
   ```
   
   With regards to `setElementSerializer can not be used. Since it can only 
push one layer serializer. Push generics is enough. It's just like normal 
collection serializer.`
   
   I think I understand with regards too "it can only push one layer 
serializer" as meaning only able to handle one dimension (ie. String[] and not 
String[][]).   Push generics is enough I am not sure exactly on the meaning of 
this?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to