|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.jackson.JsonNode
org.codehaus.jackson.node.BaseJsonNode
public abstract class BaseJsonNode
Abstract base class common to all standard JsonNode
implementations.
The main addition here is that we declare that sub-classes must
implement JsonSerializable. This simplifies object mapping
aspects a bit, as no external serializers are needed.
| Constructor Summary | |
|---|---|
protected |
BaseJsonNode()
|
| Method Summary | |
|---|---|
abstract void |
serialize(JsonGenerator jgen,
SerializerProvider provider)
|
void |
writeTo(JsonGenerator jgen)
Note: this method should probably be deprecated, given that we want to use the standard serialization interface. |
| Methods inherited from class org.codehaus.jackson.JsonNode |
|---|
equals, get, get, getBigIntegerValue, getBinaryValue, getBooleanValue, getDecimalValue, getDoubleValue, getElements, getElementValue, getFieldNames, getFieldValue, getIntValue, getLongValue, getNumberValue, getPath, getPath, getTextValue, getValueAsText, isArray, isBigDecimal, isBigInteger, isBinary, isBoolean, isContainerNode, isDouble, isFloatingPointNumber, isInt, isIntegralNumber, isLong, isMissingNode, isNull, isNumber, isObject, isPojo, isTextual, isValueNode, iterator, path, path, size, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected BaseJsonNode()
| Method Detail |
|---|
public abstract void serialize(JsonGenerator jgen,
SerializerProvider provider)
throws java.io.IOException,
JsonProcessingException
serialize in interface JsonSerializablejava.io.IOException
JsonProcessingException
public final void writeTo(JsonGenerator jgen)
throws java.io.IOException,
JsonGenerationException
Note: this method should probably be deprecated, given that we want to use the standard serialization interface.
writeTo in class JsonNodejava.io.IOException
JsonGenerationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||