public class JsonObject extends JsonValue
Constructor and Description |
---|
JsonObject() |
Modifier and Type | Method and Description |
---|---|
JsonArray |
array(String nameExpression) |
JsonObject |
field(String nameExpression,
String valueExpression) |
JsonNodeType |
getType() |
JsonObject |
object(String nameExpression) |
protected void |
writeEndImpl(ExpressionContext context,
JsonGenerator generator) |
protected void |
writeStartImpl(ExpressionContext context,
JsonGenerator generator) |
public JsonNodeType getType()
protected void writeStartImpl(ExpressionContext context, JsonGenerator generator) throws Throwable
writeStartImpl
in class JsonNode
Throwable
protected void writeEndImpl(ExpressionContext context, JsonGenerator generator) throws Throwable
writeEndImpl
in class JsonNode
Throwable
public JsonObject object(String nameExpression)
public JsonObject field(String nameExpression, String valueExpression)
Copyright (c) 2006-2023 North Concepts Inc. All Rights Reserved.