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
-
Method Summary
Modifier and TypeMethodDescriptiongetJsonLikeWriter
(Writer writer) void
Parse the JSON document into the Json-like structure so that it can be navigated.void
void
setNativeArray
(com.fasterxml.jackson.databind.node.ArrayNode arrayNode) void
setNativeObject
(com.fasterxml.jackson.databind.node.ObjectNode objectNode)
-
Constructor Details
-
JacksonStructure
public JacksonStructure()
-
-
Method Details
-
setNativeObject
-
setNativeArray
-
getInstance
- Specified by:
getInstance
in interfaceJsonLikeStructure
-
load
Description copied from interface:JsonLikeStructure
Parse the JSON document into the Json-like structure so that it can be navigated.- Specified by:
load
in interfaceJsonLikeStructure
- Parameters:
theReader
- aReader
that will process the JSON input stream- Throws:
DataFormatException
- when invalid JSON is received
-
load
- Specified by:
load
in interfaceJsonLikeStructure
- Throws:
DataFormatException
-
getJsonLikeWriter
- Specified by:
getJsonLikeWriter
in interfaceJsonLikeStructure
- Throws:
IOException
-
getJsonLikeWriter
- Specified by:
getJsonLikeWriter
in interfaceJsonLikeStructure
-
getRootObject
- Specified by:
getRootObject
in interfaceJsonLikeStructure
- Throws:
DataFormatException
-