Package org.hl7.fhir.dstu2.formats
Interface JsonCreator
-
- All Known Implementing Classes:
JsonCreatorCanonical,JsonCreatorGson
public interface JsonCreator
Facade to GSON writer, or something that imposes property ordering first- Author:
- Grahame
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbeginArray()voidbeginObject()voidendArray()voidendObject()voidfinish()voidname(String name)voidnullValue()voidsetIndent(String string)voidvalue(Boolean value)voidvalue(Integer value)voidvalue(String value)voidvalue(BigDecimal value)
-
-
-
Method Detail
-
beginObject
void beginObject() throws IOException
- Throws:
IOException
-
endObject
void endObject() throws IOException
- Throws:
IOException
-
nullValue
void nullValue() throws IOException
- Throws:
IOException
-
name
void name(String name) throws IOException
- Throws:
IOException
-
value
void value(String value) throws IOException
- Throws:
IOException
-
value
void value(Boolean value) throws IOException
- Throws:
IOException
-
value
void value(BigDecimal value) throws IOException
- Throws:
IOException
-
value
void value(Integer value) throws IOException
- Throws:
IOException
-
beginArray
void beginArray() throws IOException
- Throws:
IOException
-
endArray
void endArray() throws IOException
- Throws:
IOException
-
finish
void finish() throws IOException
- Throws:
IOException
-
-