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 Core Source Code
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java".
Jackson Core Source Code files are provided in the source packge (jackson-core-2.14.0-sources.jar). You can download it at Jackson Maven Website.
You can also browse Jackson Core Source Code below:
✍: FYIcenter.com
⏎ com/fasterxml/jackson/core/filter/JsonPointerBasedFilter.java
package com.fasterxml.jackson.core.filter; import com.fasterxml.jackson.core.JsonPointer; /** * Simple {@link TokenFilter} implementation that takes a single * {@link JsonPointer} and matches a single value accordingly. * Instances are immutable and fully thread-safe, shareable, * and efficient to use. * * @since 2.6 */ public class JsonPointerBasedFilter extends TokenFilter { protected final JsonPointer _pathToMatch; public JsonPointerBasedFilter(String ptrExpr) { this(JsonPointer.compile(ptrExpr)); } public JsonPointerBasedFilter(JsonPointer match) { _pathToMatch = match; } @Override public TokenFilter includeElement(int index) { JsonPointer next = _pathToMatch.matchElement(index); if (next == null) { return null; } if (next.matches()) { return TokenFilter.INCLUDE_ALL; } return new JsonPointerBasedFilter(next); } @Override public TokenFilter includeProperty(String name) { JsonPointer next = _pathToMatch.matchProperty(name); if (next == null) { return null; } if (next.matches()) { return TokenFilter.INCLUDE_ALL; } return new JsonPointerBasedFilter(next); } @Override public TokenFilter filterStartArray() { return this; } @Override public TokenFilter filterStartObject() { return this; } @Override protected boolean _includeScalar() { // should only occur for root-level scalars, path "/" return _pathToMatch.matches(); } @Override public String toString() { return "[JsonPointerFilter at: "+_pathToMatch+"]"; } }
⏎ com/fasterxml/jackson/core/filter/JsonPointerBasedFilter.java
Or download all of them as a single archive file:
File name: jackson-core-2.14.0-sources.jar File size: 497693 bytes Release date: 2022-11-05 Download
⇒ Download and Install Jackson Binary Package
2016-02-03, 48440👍, 1💬
Popular Posts:
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java"....
Apache Log4j 1.2 Bridge allows applications coded to use Log4j 1.2 API to use Log4j 2 instead. Bytec...
JDK 11 java.base.jmod is the JMOD file for JDK 11 Base module. JDK 11 Base module compiled class fil...
The JDT project provides the tool plug-ins that implement a Java IDE supporting the development of a...
What Is ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is the JAR files of ojdbc.jar, JD...