Package ca.uhn.fhir.parser.json.jackson
Class JacksonWriter
java.lang.Object
ca.uhn.fhir.parser.json.BaseJsonLikeWriter
ca.uhn.fhir.parser.json.jackson.JacksonWriter
-
Constructor Summary
ConstructorDescriptionJacksonWriter
(com.fasterxml.jackson.core.JsonFactory theJsonFactory, Writer theWriter) -
Method Summary
Modifier and TypeMethodDescriptionbeginArray
(String name) beginObject
(String name) void
close()
endArray()
endBlock()
flush()
init()
write
(boolean value) write
(double value) write
(long value) write
(String name, BigDecimal value) write
(String name, BigInteger value) write
(BigDecimal value) write
(BigInteger value) Methods inherited from class ca.uhn.fhir.parser.json.BaseJsonLikeWriter
getWriter, isPrettyPrint, setPrettyPrint, setWriter
-
Constructor Details
-
JacksonWriter
public JacksonWriter(com.fasterxml.jackson.core.JsonFactory theJsonFactory, Writer theWriter) throws IOException - Throws:
IOException
-
JacksonWriter
public JacksonWriter()
-
-
Method Details
-
init
- Specified by:
init
in classBaseJsonLikeWriter
-
flush
- Specified by:
flush
in classBaseJsonLikeWriter
-
close
- Specified by:
close
in classBaseJsonLikeWriter
- Throws:
IOException
-
beginObject
- Specified by:
beginObject
in classBaseJsonLikeWriter
- Throws:
IOException
-
beginObject
- Specified by:
beginObject
in classBaseJsonLikeWriter
- Throws:
IOException
-
beginArray
- Specified by:
beginArray
in classBaseJsonLikeWriter
- Throws:
IOException
-
write
- Specified by:
write
in classBaseJsonLikeWriter
- Throws:
IOException
-
write
- Specified by:
write
in classBaseJsonLikeWriter
- Throws:
IOException
-
write
- Specified by:
write
in classBaseJsonLikeWriter
- Throws:
IOException
-
write
- Specified by:
write
in classBaseJsonLikeWriter
- Throws:
IOException
-
write
- Specified by:
write
in classBaseJsonLikeWriter
- Throws:
IOException
-
write
- Specified by:
write
in classBaseJsonLikeWriter
- Throws:
IOException
-
write
- Specified by:
write
in classBaseJsonLikeWriter
- Throws:
IOException
-
writeNull
- Specified by:
writeNull
in classBaseJsonLikeWriter
- Throws:
IOException
-
write
- Specified by:
write
in classBaseJsonLikeWriter
- Throws:
IOException
-
write
- Specified by:
write
in classBaseJsonLikeWriter
- Throws:
IOException
-
write
- Specified by:
write
in classBaseJsonLikeWriter
- Throws:
IOException
-
write
- Specified by:
write
in classBaseJsonLikeWriter
- Throws:
IOException
-
write
- Specified by:
write
in classBaseJsonLikeWriter
- Throws:
IOException
-
write
- Specified by:
write
in classBaseJsonLikeWriter
- Throws:
IOException
-
write
- Specified by:
write
in classBaseJsonLikeWriter
- Throws:
IOException
-
endObject
- Specified by:
endObject
in classBaseJsonLikeWriter
- Throws:
IOException
-
endArray
- Specified by:
endArray
in classBaseJsonLikeWriter
- Throws:
IOException
-
endBlock
- Specified by:
endBlock
in classBaseJsonLikeWriter
- Throws:
IOException
-