com.fasterxml.jackson.databind.util

Class RootNameLookup

    • Field Detail

      • _rootNames

        protected transient LRUMap<ClassKey,com.fasterxml.jackson.core.SerializableString> _rootNames
        For efficient operation, let's try to minimize number of times we need to introspect root element name to use.
    • Constructor Detail

      • RootNameLookup

        public RootNameLookup()
    • Method Detail

      • findRootName

        public com.fasterxml.jackson.core.SerializableString findRootName(JavaType rootType,
                                                                 MapperConfig<?> config)
      • findRootName

        public com.fasterxml.jackson.core.SerializableString findRootName(Class<?> rootType,
                                                                 MapperConfig<?> config)
      • readResolve

        protected Object readResolve()
        Need to override to reproduce cache object via constructor, instead of serialize/deserialize (since we do NOT want to retain cached data)

Copyright © 2014 FasterXML. All Rights Reserved.