public class JsonTemplate extends JsonFragment
Constructor and Description |
---|
JsonTemplate() |
Modifier and Type | Method and Description |
---|---|
JsonArray |
array() |
void |
buildDetail(Record record,
JsonGenerator jsonGenerator) |
void |
buildFooter(JsonGenerator jsonGenerator) |
void |
buildHeader(JsonGenerator jsonGenerator) |
JsonObject |
object() |
void |
setValue(String name,
Object value) |
void |
setValue(String name,
Object value,
Class<?> type) |
detail, exception, getParentNode, getType, when, writeEndImpl, writeStartImpl
public void buildHeader(JsonGenerator jsonGenerator) throws IOException
IOException
public void buildDetail(Record record, JsonGenerator jsonGenerator) throws IOException
IOException
public void buildFooter(JsonGenerator jsonGenerator) throws IOException
IOException
public JsonObject object()
Copyright (c) 2006-2023 North Concepts Inc. All Rights Reserved.