Package ca.uhn.fhir.parser.json
Interface JsonLikeStructure
- All Known Implementing Classes:
JacksonStructure
public interface JsonLikeStructure
This interface is the generic representation of any sort of data
structure that looks and smells like JSON. These data structures
can be abstractly viewed as a invalid input: '<'code.Map or
List
whose members are other Maps, Lists, or scalars (Strings, Numbers, Boolean)- Author:
- Bill.Denton
-
Method Summary
Modifier and TypeMethodDescriptiongetJsonLikeWriter
(Writer writer) void
Parse the JSON document into the Json-like structure so that it can be navigated.void
-
Method Details
-
getInstance
-
load
Parse the JSON document into the Json-like structure so that it can be navigated.- Parameters:
theReader
- aReader
that will process the JSON input stream- Throws:
DataFormatException
- when invalid JSON is received
-
load
- Throws:
DataFormatException
-
getRootObject
- Throws:
DataFormatException
-
getJsonLikeWriter
-
getJsonLikeWriter
- Throws:
IOException
-