public class JsonCreatorGson extends Object implements JsonCreator
| Constructor and Description |
|---|
JsonCreatorGson(OutputStreamWriter osw) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginArray() |
void |
beginObject() |
void |
endArray() |
void |
endObject() |
void |
finish() |
void |
link(String href) |
void |
name(String name) |
void |
nullValue() |
void |
setIndent(String indent) |
void |
value(BigDecimal value) |
void |
value(Boolean value) |
void |
value(Integer value) |
void |
value(String value) |
void |
valueNum(String value) |
public JsonCreatorGson(OutputStreamWriter osw)
public void setIndent(String indent)
setIndent in interface JsonCreatorpublic void beginObject() throws IOException
beginObject in interface JsonCreatorIOExceptionpublic void endObject() throws IOException
endObject in interface JsonCreatorIOExceptionpublic void nullValue() throws IOException
nullValue in interface JsonCreatorIOExceptionpublic void name(String name) throws IOException
name in interface JsonCreatorIOExceptionpublic void value(String value) throws IOException
value in interface JsonCreatorIOExceptionpublic void value(Boolean value) throws IOException
value in interface JsonCreatorIOExceptionpublic void value(BigDecimal value) throws IOException
value in interface JsonCreatorIOExceptionpublic void value(Integer value) throws IOException
value in interface JsonCreatorIOExceptionpublic void beginArray() throws IOException
beginArray in interface JsonCreatorIOExceptionpublic void endArray() throws IOException
endArray in interface JsonCreatorIOExceptionpublic void finish()
finish in interface JsonCreatorpublic void link(String href)
link in interface JsonCreatorpublic void valueNum(String value) throws IOException
valueNum in interface JsonCreatorIOExceptionCopyright © 2014–2021 Health Level 7. All rights reserved.