Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
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 (309)
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/annotation/JsonPOJOBuilder.java
package com.fasterxml.jackson.databind.annotation; import java.lang.annotation.*; /** * Annotation used to configure details of a Builder class: * instances of which are used as Builders for deserialized * POJO values, instead of POJOs being instantiated using * constructors or factory methods. * Note that this annotation is NOT used to define what is * the Builder class for a POJO: rather, this is determined * by {@link JsonDeserialize#builder} property of {@link JsonDeserialize}. *<p> * Annotation is typically used if the naming convention * of a Builder class is different from defaults: *<ul> * <li>By default, setters are expected to have names like `withName()` (for property "name"); * override by {@link #withPrefix()} property. * </li> * </ul> *<p> * In addition to configuration using this annotation, note that many other configuration * annotations are also applied to Builders, for example * {@link com.fasterxml.jackson.annotation.JsonIgnoreProperties} can be used to ignore * "unknown" properties. * * @since 2.0 */ @Target({ElementType.ANNOTATION_TYPE, ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @com.fasterxml.jackson.annotation.JacksonAnnotation public @interface JsonPOJOBuilder { /** * @since 2.9 */ public final static String DEFAULT_BUILD_METHOD = "build"; /** * @since 2.9 */ public final static String DEFAULT_WITH_PREFIX = "with"; /** * Property to use for re-defining which zero-argument method * is considered the actual "build-method": method called after * all data has been bound, and the actual instance needs to * be instantiated. *<p> * Default value is "build". */ public String buildMethodName() default DEFAULT_BUILD_METHOD; /** * Property used for (re)defining name prefix to use for * auto-detecting "with-methods": methods that are similar to * "set-methods" (in that they take an argument), but that * may also return the new builder instance to use * (which may be 'this', or a new modified builder instance). * Note that in addition to this prefix, it is also possible * to use {@link com.fasterxml.jackson.annotation.JsonProperty} * annotation to indicate "with-methods" (as well as * {@link com.fasterxml.jackson.annotation.JsonSetter}). *<p> * Default value is "with", so that method named "withValue()" * would be used for binding JSON property "value" (using type * indicated by the argument; or one defined with annotations. */ public String withPrefix() default DEFAULT_WITH_PREFIX; /* /********************************************************** /* Helper classes /********************************************************** */ /** * Simple value container for containing values read from * {@link JsonPOJOBuilder} annotation instance. */ public class Value { public final String buildMethodName; public final String withPrefix; public Value(JsonPOJOBuilder ann) { this(ann.buildMethodName(), ann.withPrefix()); } public Value(String buildMethodName, String withPrefix) { this.buildMethodName = buildMethodName; this.withPrefix = withPrefix; } } }
⏎ com/fasterxml/jackson/databind/annotation/JsonPOJOBuilder.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, 110703👍, 0💬
Popular Posts:
JRE 8 deploy.jar is the JAR file for JRE 8 Java Control Panel and other deploy tools. JRE (Java Runt...
commons-fileupload-1.3.3 -sources.jaris the source JAR file for Apache Commons FileUpload 1.3., whic...
What is the sax\Counter.java provided in the Apache Xerces package? I have Apache Xerces 2.11.0 inst...
What Is HttpComponents httpclient-4.2.2.jar? HttpComponents httpclient-4.2.2.jar is the JAR file for...
Apache Log4j API provides the interface that applications should code to and provides the adapter co...