tballison commented on PR #1872:
URL: https://github.com/apache/tika/pull/1872#issuecomment-2269315467

   There's redundancy in the serialization/deserialization of ParseContext, 
where the key name is the super class. I wanted to reuse 
TikaJsonSerializer#serializeObject which needs to encode the instantiation 
class and the superclass because normally the superclass is not defined. Let me 
try to clean this up.
   
   This is the redundancy that is part of ParseContext:
   
   ```
   "parseContext": {
       "org.apache.tika.metadata.filter.MetadataFilter": {
         "_class": "org.apache.tika.metadata.filter.CompositeMetadataFilter",
         "_super_class": "org.apache.tika.metadata.filter.MetadataFilter",
         "filters": [
           {
             "_class": "org.apache.tika.metadatafilters.SomeFilter",
   ```


-- 
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: dev-unsubscr...@tika.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to