public class JsonConditionalNode extends JsonFragment
Constructor and Description |
---|
JsonConditionalNode(JsonNode parentNode,
String condition) |
Modifier and Type | Method and Description |
---|---|
JsonArray |
array() |
JsonArray |
array(String nameExpression) |
protected DataException |
exception(Throwable e) |
JsonConditionalNode |
field(String nameExpression,
String valueExpression) |
JsonLogicalExpression |
getCondition() |
List<JsonNode> |
getNodes(ExpressionContext context) |
boolean |
hasNodes(ExpressionContext context) |
JsonObject |
object() |
JsonObject |
object(String nameExpression) |
JsonConditionalNode |
value(String valueExpression) |
detail, getParentNode, getType, when, writeEndImpl, writeStartImpl
add, assertType, isMarker, writeEnd, writeStart
public JsonLogicalExpression getCondition()
public JsonObject object(String nameExpression)
public JsonConditionalNode field(String nameExpression, String valueExpression)
public JsonObject object()
public JsonConditionalNode value(String valueExpression)
protected DataException exception(Throwable e)
exception
in class JsonFragment
Copyright (c) 2006-2023 North Concepts Inc. All Rights Reserved.