Jackson Data Binding Source Code

Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java".

  • Jackson Data Binding module allows you to converts JSON to and from POJO (Plain Old Java Object) using property accessor or using annotations.
  • Jackson Databind Source Code files are provided in the source packge (jackson-databind-2.14.0-sources.jar). You can download it at Jackson Maven Website.

    You can also browse Jackson Databind Source Code below:

    ✍: FYIcenter.com

    com/fasterxml/jackson/databind/util/internal/EvictionListener.java

    /*
     * Copyright 2010 Google Inc. All Rights Reserved.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package com.fasterxml.jackson.databind.util.internal;
    
    /**
     * A listener registered for notification when an entry is evicted. An instance
     * may be called concurrently by multiple threads to process entries. An
     * implementation should avoid performing blocking calls or synchronizing on
     * shared resources.
     * <p>
     * The listener is invoked by {@link PrivateMaxEntriesMap} on a caller's
     * thread and will not block other threads from operating on the map. An
     * implementation should be aware that the caller's thread will not expect
     * long execution times or failures as a side effect of the listener being
     * notified. Execution safety and a fast turn around time can be achieved by
     * performing the operation asynchronously, such as by submitting a task to an
     * {@link java.util.concurrent.ExecutorService}.
     *
     * @author ben.manes@gmail.com (Ben Manes)
     * @see <a href="http://code.google.com/p/concurrentlinkedhashmap/">
     *      http://code.google.com/p/concurrentlinkedhashmap/</a>
     */
    interface EvictionListener<K, V> {
    
        /**
         * A call-back notification that the entry was evicted.
         *
         * @param key the entry's key
         * @param value the entry's value
         */
        void onEviction(K key, V value);
    }
    

    com/fasterxml/jackson/databind/util/internal/EvictionListener.java

     

    Or download all of them as a single archive file:

    File name: jackson-databind-2.14.0-sources.jar
    File size: 1187952 bytes
    Release date: 2022-11-05
    Download 
    

     

    Jackson Annotations Source Code

    Download and Install Jackson Binary Package

    Downloading and Reviewing jackson-*.jar

    ⇑⇑ Jackson - Java JSON library

    2022-03-29, 80664👍, 0💬