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/type/LogicalType.java
package com.fasterxml.jackson.databind.type; /** * Set of logical types (or type categories, classes of classes), used * for defining applicability of configuration like coercion configuration. * Used instead to allow easier targeting of types than having to enumerate * physical types ({@link java.lang.Class} or {@link com.fasterxml.jackson.databind.JavaType}). * * @since 2.12 */ public enum LogicalType { // // // General container types /** * Array types of other values. *<p> * Note: excludes binary type {@code byte[]}. */ Array, /** * {@link java.util.Collection} values (and "Collection-like" for JVM * languages and datatype libraries with semantically similar types) */ Collection, /** * {@link java.util.Map} values (and "Map-like" for JVM * languages and datatype libraries with semantically similar types) */ Map, // // // Other structured java types /** * Types that are handled by default "set of key/value pairs" serialization, * also known as "Beans". *<p> * In addition to user-defined types, also includes JDK types like: *<ul> * <li>{@link java.lang.Throwable} * </li> * </ul> */ POJO, /** * "Non-type", Type used to contained untyped, free-form content: maybe * a "Tree" (sometimes called "AST"), or buffer of some kind, * or even just nominal type of {@link java.lang.Object} */ Untyped, // // // Basic scalar types /** * Basic integral numbers types like {@code short}, {@code int}, {@code long} * and matching wrapper types, {@link java.math.BigInteger}. */ Integer, /** * Basic floating-point numbers types like {@code float}, {@code double}, * and matching wrapper types, {@link java.math.BigDecimal}. */ Float, /** * {@link java.lang.Boolean}, {@code boolean}, {@link java.util.concurrent.atomic.AtomicBoolean}. */ Boolean, /** * Various {@link java.lang.Enum} types. */ Enum, /** * Purely textual types, {@link java.lang.String} and similar (but not types that * are generally expressed as Strings in input). */ Textual, /** * Binary data such as {@code byte[]} and {@link java.nio.ByteBuffer}. */ Binary, /** * Date/time datatypes such as {@link java.util.Date}, {@link java.util.Calendar}. */ DateTime, /** * Scalar types other than ones listed above: includes types like {@link java.net.URL} * and {@link java.util.UUID}. */ OtherScalar ; /** * Helper method to use for figuring out logical type from physical type, * in cases where caller wants a guess. Note that introspection is * not exhaustive and mostly covers basic {@link java.util.Collection}, * {@link java.util.Map} and {@link java.lang.Enum} cases; but not * more specific types (for example datatype-provided extension types). * * @param raw Type-erased class to classify * @param defaultIfNotRecognized if no type recognized, value to return * (for example, {@code null}) */ public static LogicalType fromClass(Class<?> raw, LogicalType defaultIfNotRecognized) { if (raw.isEnum()) { return Enum; } if (raw.isArray()) { if (raw == byte[].class) { return Binary; } return Array; } if (java.util.Collection.class.isAssignableFrom(raw)) { return Collection; } if (java.util.Map.class.isAssignableFrom(raw)) { return Map; } if (raw == String.class) { return Textual; } return defaultIfNotRecognized; } }
⏎ com/fasterxml/jackson/databind/type/LogicalType.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, 109288👍, 0💬
Popular Posts:
Where to find answers to frequently asked questions on Downloading and Installing ojdbc.jar - JDBC D...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
What Is XMLBeans xbean.jar 2.6.0? XMLBeans xbean.jar 2.6.0 is the JAR file for Apache XMLBeans 2.6.0...
What Is commons-codec-1.4.jar? commons-codec-1.4.jar is the JAR file for Apache Commons Codec 1.4, w...
What Is mail.jar of JavaMail 1.3? I got the JAR file from javamail-1_3.zip. mail.jar in javamail-1_3...