Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
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 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/deser/ValueInstantiators.java
package com.fasterxml.jackson.databind.deser;
import com.fasterxml.jackson.databind.*;
/**
* Interface for providers of {@link ValueInstantiator} instances.
* Implemented when an object wants to provide custom value instantiators,
* usually to support custom value types with alternate constructors, or
* which need specified post-processing after construction but before
* binding data.
*/
public interface ValueInstantiators
{
/**
* Method called to find the {@link ValueInstantiator} to use for creating
* instances of specified type during deserialization.
* Note that a default value instantiator is always created first and passed;
* if an implementation does not want to modify or replace it, it has to return
* passed instance as is (returning null is an error)
*
* @param config Deserialization configuration in use
* @param beanDesc Additional information about POJO type to be instantiated
* @param defaultInstantiator Instantiator that will be used if no changes are made;
* passed to allow custom instances to use annotation-provided information
* (note, however, that earlier {@link ValueInstantiators} may have changed it to
* a custom instantiator already)
*
* @return Instantiator to use; either <code>defaultInstantiator</code> that was passed,
* or a custom variant; cannot be null.
*/
public ValueInstantiator findValueInstantiator(DeserializationConfig config,
BeanDescription beanDesc, ValueInstantiator defaultInstantiator);
/**
* Basic "NOP" implementation that can be used as the base class for custom implementations.
* Safer to extend (instead of implementing {@link ValueInstantiators}) in case later
* Jackson versions add new methods in base interface.
*/
public static class Base implements ValueInstantiators
{
@Override
public ValueInstantiator findValueInstantiator(DeserializationConfig config,
BeanDescription beanDesc, ValueInstantiator defaultInstantiator) {
return defaultInstantiator;
}
}
}
⏎ com/fasterxml/jackson/databind/deser/ValueInstantiators.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
2022-03-29, ≈174🔥, 0💬
Popular Posts:
Apache ZooKeeper is an open-source server which enables highly reliable distributed coordination. Ap...
MXP1 is a stable XmlPull parsing engine that is based on ideas from XPP and in particular XPP2 but c...
JDK 6 tools.jar is the JAR file for JDK 6 tools. It contains Java classes to support different JDK t...
Apache Commons Lang 3 is the 3rd version of Apache Commons Lang, which provides a host of helper uti...
How to download and install Apache ZooKeeper Source Package? Apache ZooKeeper is an open-source serv...