public abstract class JsonNode extends Object
Constructor and Description |
---|
JsonNode() |
Modifier and Type | Method and Description |
---|---|
protected <T extends JsonNode> |
add(T node) |
protected JsonArray |
array() |
protected JsonArray |
array(String nameExpression) |
protected void |
assertType(JsonNodeType type,
String message) |
protected JsonDetailMarker |
detail() |
protected DataException |
exception(Throwable e) |
protected JsonNode |
field(String nameExpression,
String valueExpression) |
List<JsonNode> |
getNodes(ExpressionContext context) |
abstract JsonNodeType |
getType() |
boolean |
hasNodes(ExpressionContext context) |
boolean |
isMarker() |
protected JsonObject |
object() |
protected JsonObject |
object(String nameExpression) |
protected JsonNode |
value(String valueExpression) |
protected JsonConditionalNode |
when(String condition) |
void |
writeEnd(ExpressionContext context,
JsonGenerator jsonGenerator) |
protected abstract void |
writeEndImpl(ExpressionContext context,
JsonGenerator generator) |
void |
writeStart(ExpressionContext context,
JsonGenerator jsonGenerator) |
protected abstract void |
writeStartImpl(ExpressionContext context,
JsonGenerator generator) |
public abstract JsonNodeType getType()
protected abstract void writeStartImpl(ExpressionContext context, JsonGenerator generator) throws Throwable
Throwable
protected abstract void writeEndImpl(ExpressionContext context, JsonGenerator generator) throws Throwable
Throwable
public final void writeStart(ExpressionContext context, JsonGenerator jsonGenerator)
public final void writeEnd(ExpressionContext context, JsonGenerator jsonGenerator)
protected DataException exception(Throwable e)
public boolean hasNodes(ExpressionContext context)
public boolean isMarker()
protected final <T extends JsonNode> T add(T node)
protected JsonObject object()
protected JsonArray array()
protected JsonObject object(String nameExpression)
protected JsonConditionalNode when(String condition)
protected JsonDetailMarker detail()
protected void assertType(JsonNodeType type, String message)
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.