I am not able to parse the incoming Bundle request (JSON) to the Java data objcets. It seems that the parser does not recognize the "resourceType": "Bundle"
. Parser fails on if (json.has("feed"))
statement of JsonParserBase
. I have also tried using "resourceType": "feed"
but no luck.
Java implementation does not gives a concrete parser whereas it is available for .NET version. My application is Java based and it is not able to recognize the incoming Bundle request. I am using org.hl7.fhir.instance.formats.JsonParser
's parseGeneral()
method.
Are there any third party parsers available or I am missing any thing?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…