Package | Description |
---|---|
com.fasterxml.jackson.jr.ob | |
com.fasterxml.jackson.jr.ob.impl |
Modifier and Type | Method and Description |
---|---|
static JSONObjectException |
JSONObjectException.from(com.fasterxml.jackson.core.JsonParser p,
String msg) |
static JSONObjectException |
JSONObjectException.from(com.fasterxml.jackson.core.JsonParser p,
String msg,
Object... args) |
static JSONObjectException |
JSONObjectException.from(com.fasterxml.jackson.core.JsonParser p,
Throwable problem,
String msg,
Object... args) |
static JSONObjectException |
JSONObjectException.fromUnexpectedIOE(IOException src)
Factory method used when "upgrading" an
IOException into
JSONObjectException : usually only needed to comply with
a signature. |
static JSONObjectException |
JSONObjectException.wrapWithPath(Throwable src,
JSONObjectException.Reference ref)
Method that can be called to either create a new JsonMappingException
(if underlying exception is not a JsonMappingException), or augment
given exception with given path/reference information.
|
static JSONObjectException |
JSONObjectException.wrapWithPath(Throwable src,
Object refFrom,
int index)
Method that can be called to either create a new JsonMappingException
(if underlying exception is not a JsonMappingException), or augment
given exception with given path/reference information.
|
static JSONObjectException |
JSONObjectException.wrapWithPath(Throwable src,
Object refFrom,
String refFieldName)
Method that can be called to either create a new JsonMappingException
(if underlying exception is not a JsonMappingException), or augment
given exception with given path/reference information.
|
Modifier and Type | Method and Description |
---|---|
protected com.fasterxml.jackson.core.JsonParser |
JSON._parser(Object source) |
Object[] |
JSON.arrayFrom(Object source) |
<T> T[] |
JSON.arrayOfFrom(Class<T> type,
Object source) |
byte[] |
JSON.asBytes(Object value) |
String |
JSON.asString(Object value) |
<T> T |
JSON.beanFrom(Class<T> type,
Object source) |
JSONComposer<byte[]> |
JSON.composeBytes() |
JSONComposer<String> |
JSON.composeString() |
JSONComposer<OutputStream> |
JSON.composeTo(File f) |
JSONComposer<OutputStream> |
JSON.composeTo(OutputStream out) |
JSONComposer<OutputStream> |
JSON.composeTo(Writer w) |
JSONComposer<OutputStream> |
JSON.composeUsing(com.fasterxml.jackson.core.JsonGenerator gen) |
List<Object> |
JSON.listFrom(Object source) |
<T> List<T> |
JSON.listOfFrom(Class<T> type,
Object source) |
<T> Map<T,Object> |
JSON.mapFrom(Object source) |
<T extends com.fasterxml.jackson.core.TreeNode> |
JSON.treeFrom(Object source)
Method for reading content as a JSON Tree (of type that configured
TreeCodec , see JSON.with(TreeCodec) ) supports. |
void |
JSON.write(Object value,
File f) |
void |
JSON.write(Object value,
com.fasterxml.jackson.core.JsonGenerator gen) |
void |
JSON.write(Object value,
OutputStream out) |
void |
JSON.write(Object value,
Writer w) |
Modifier and Type | Method and Description |
---|---|
protected JSONObjectException |
JSONAsObjectCodec._noTypeReference() |
protected JSONObjectException |
MapReader._reportProblem(com.fasterxml.jackson.core.JsonParser p) |
Modifier and Type | Method and Description |
---|---|
protected void |
JSONAsObjectCodec._checkResultType(Class<?> valueType,
Object ob) |
protected com.fasterxml.jackson.core.TreeCodec |
JSONReader._treeCodec() |
Map<Object,Object> |
MapBuilder.emptyMap()
Specialized method that is called when an empty list needs to
be constructed; this may be a new list, or an immutable shared
List, depending on implementation.
|
Map<Object,Object> |
MapBuilder.singletonMap(Object key,
Object value)
Specialized method that is called when an empty list needs to
be constructed; this may be a new list, or an immutable shared
List, depending on implementation.
|
Copyright © 2018. All rights reserved.