Categories:
Audio (13)
Biotech (29)
Bytecode (35)
Database (77)
Framework (7)
Game (7)
General (512)
Graphics (53)
I/O (32)
IDE (2)
JAR Tools (86)
JavaBeans (16)
JDBC (89)
JDK (337)
JSP (20)
Logging (103)
Mail (54)
Messaging (8)
Network (71)
PDF (94)
Report (7)
Scripting (83)
Security (32)
Server (119)
Servlet (17)
SOAP (24)
Testing (50)
Web (19)
XML (301)
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.12.4-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/JsonParseException.java
/* Jackson JSON-processor. * * Copyright (c) 2007- Tatu Saloranta, tatu.saloranta@iki.fi */ package com.fasterxml.jackson.core; import com.fasterxml.jackson.core.exc.StreamReadException; import com.fasterxml.jackson.core.util.RequestPayload; /** * Exception type for parsing problems, used when non-well-formed content * (content that does not conform to JSON syntax as per specification) * is encountered. */ public class JsonParseException extends StreamReadException { private static final long serialVersionUID = 2L; // 2.7 @Deprecated // since 2.7 public JsonParseException(String msg, JsonLocation loc) { super(msg, loc, null); } @Deprecated // since 2.7 public JsonParseException(String msg, JsonLocation loc, Throwable root) { super(msg, loc, root); } /** * Constructor that uses current parsing location as location, and * sets processor (accessible via {@link #getProcessor()}) to * specified parser. * * @param p Parser in use when encountering issue reported * @param msg Base exception message to use * * @since 2.7 */ public JsonParseException(JsonParser p, String msg) { super(p, msg); } // @since 2.7 public JsonParseException(JsonParser p, String msg, Throwable root) { super(p, msg, root); } // @since 2.7 public JsonParseException(JsonParser p, String msg, JsonLocation loc) { super(p, msg, loc); } // @since 2.7 public JsonParseException(JsonParser p, String msg, JsonLocation loc, Throwable root) { super(msg, loc, root); } /** * Fluent method that may be used to assign originating {@link JsonParser}, * to be accessed using {@link #getProcessor()}. *<p> * NOTE: `this` instance is modified and no new instance is constructed. * * @param p Parser instance to assign to this exception * * @return This exception instance to allow call chaining * * @since 2.7 */ @Override public JsonParseException withParser(JsonParser p) { _processor = p; return this; } /** * Fluent method that may be used to assign payload to this exception, * to let recipient access it for diagnostics purposes. *<p> * NOTE: `this` instance is modified and no new instance is constructed. * * @param payload Payload to assign to this exception * * @return This exception instance to allow call chaining * * @since 2.8 */ @Override public JsonParseException withRequestPayload(RequestPayload payload) { _requestPayload = payload; return this; } // NOTE: overloaded in 2.10 just to retain binary compatibility with 2.9 (remove from 3.0) @Override public JsonParser getProcessor() { return super.getProcessor(); } // NOTE: overloaded in 2.10 just to retain binary compatibility with 2.9 (remove from 3.0) @Override public RequestPayload getRequestPayload() { return super.getRequestPayload(); } // NOTE: overloaded in 2.10 just to retain binary compatibility with 2.9 (remove from 3.0) @Override public String getRequestPayloadAsString() { return super.getRequestPayloadAsString(); } // NOTE: overloaded in 2.10 just to retain binary compatibility with 2.9 (remove from 3.0) @Override public String getMessage() { return super.getMessage(); } }
⏎ com/fasterxml/jackson/core/JsonParseException.java
Â
⇒ Download and Install Jackson Binary Package
⇠What Is Jackson
⇑ Downloading and Reviewing jackson-*.jar
⇑⇑ Jackson - Java JSON library
2016-02-03, 29442👍, 1💬
Popular Posts:
What Is HttpComponents commons-httpclient-3.1.j ar?HttpComponents commons-httpclient-3.1.j aris the ...
Apache Ant Source Code Files are inside the Apache Ant source package file like apache-ant-1.10.10-s...
What Is log4j-1.2.15.jar? I got the JAR file from apache-log4j-1.2.15.zip. log4j-1.2.15.jar is the v...
JDK 11 java.xml.jmod is the JMOD file for JDK 11 XML (eXtensible Markup Language) module. JDK 11 XML...
JDK 11 jdk.dynalink.jmod is the JMOD file for JDK 11 Dynamic Linking module. JDK 11 Dynamic Linking ...