
Package ca.uhn.fhir.parser.json.jackson
Class JacksonStructure
java.lang.Object
ca.uhn.fhir.parser.json.jackson.JacksonStructure
- All Implemented Interfaces:
JsonLikeStructure
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetJsonLikeWriter(Writer writer) voidParse the JSON document into the Json-like structure so that it can be navigated.voidvoidsetNativeArray(com.fasterxml.jackson.databind.node.ArrayNode arrayNode) voidsetNativeObject(com.fasterxml.jackson.databind.node.ObjectNode objectNode)
-
Constructor Details
-
JacksonStructure
public JacksonStructure()
-
-
Method Details
-
setNativeObject
-
setNativeArray
-
getInstance
- Specified by:
getInstancein interfaceJsonLikeStructure
-
load
Description copied from interface:JsonLikeStructureParse the JSON document into the Json-like structure so that it can be navigated.- Specified by:
loadin interfaceJsonLikeStructure- Parameters:
theReader- aReaderthat will process the JSON input stream- Throws:
DataFormatException- when invalid JSON is received
-
load
- Specified by:
loadin interfaceJsonLikeStructure- Throws:
DataFormatException
-
getJsonLikeWriter
- Specified by:
getJsonLikeWriterin interfaceJsonLikeStructure- Throws:
IOException
-
getJsonLikeWriter
- Specified by:
getJsonLikeWriterin interfaceJsonLikeStructure
-
getRootObject
- Specified by:
getRootObjectin interfaceJsonLikeStructure- Throws:
DataFormatException
-