Package ca.uhn.fhir.parser.json.jackson
Class JacksonWriter
java.lang.Object
ca.uhn.fhir.parser.json.JsonLikeWriter
ca.uhn.fhir.parser.json.jackson.JacksonWriter
-
Constructor Summary
ConstructorsConstructorDescriptionJacksonWriter(com.fasterxml.jackson.core.JsonFactory theJsonFactory, Writer theWriter) -
Method Summary
Modifier and TypeMethodDescriptionbeginArray(String name) beginObject(String name) voidclose()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.JsonLikeWriter
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:
initin classJsonLikeWriter
-
flush
- Specified by:
flushin classJsonLikeWriter
-
close
- Specified by:
closein classJsonLikeWriter- Throws:
IOException
-
beginObject
- Specified by:
beginObjectin classJsonLikeWriter- Throws:
IOException
-
beginObject
- Specified by:
beginObjectin classJsonLikeWriter- Throws:
IOException
-
beginArray
- Specified by:
beginArrayin classJsonLikeWriter- Throws:
IOException
-
write
- Specified by:
writein classJsonLikeWriter- Throws:
IOException
-
write
- Specified by:
writein classJsonLikeWriter- Throws:
IOException
-
write
- Specified by:
writein classJsonLikeWriter- Throws:
IOException
-
write
- Specified by:
writein classJsonLikeWriter- Throws:
IOException
-
write
- Specified by:
writein classJsonLikeWriter- Throws:
IOException
-
write
- Specified by:
writein classJsonLikeWriter- Throws:
IOException
-
write
- Specified by:
writein classJsonLikeWriter- Throws:
IOException
-
writeNull
- Specified by:
writeNullin classJsonLikeWriter- Throws:
IOException
-
write
- Specified by:
writein classJsonLikeWriter- Throws:
IOException
-
write
- Specified by:
writein classJsonLikeWriter- Throws:
IOException
-
write
- Specified by:
writein classJsonLikeWriter- Throws:
IOException
-
write
- Specified by:
writein classJsonLikeWriter- Throws:
IOException
-
write
- Specified by:
writein classJsonLikeWriter- Throws:
IOException
-
write
- Specified by:
writein classJsonLikeWriter- Throws:
IOException
-
write
- Specified by:
writein classJsonLikeWriter- Throws:
IOException
-
endObject
- Specified by:
endObjectin classJsonLikeWriter- Throws:
IOException
-
endArray
- Specified by:
endArrayin classJsonLikeWriter- Throws:
IOException
-
endBlock
- Specified by:
endBlockin classJsonLikeWriter- Throws:
IOException
-